Windows 2008 doing AAAA record lookups as well as A lookups even when it has no IPv6 enabled?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



When doing a DNS lookup from a Windows 2008 box it does a normal A record lookup first then it does an AAAA record lookup, even when IPv6 isn't enabled, doubling the name lookups the machine does for no good purpose and doubling the load on the DNS servers.

The only reference I can find on the MS site is for Vista, but implies that this shouldn't be happening

http://technet.microsoft.com/en-us/library/bb727035.aspx :-

"The DNS Client service in Windows Vista has been designed to minimize the impact on DNS servers when performing DNS name queries through the following behavior:
If the host has only link-local or Teredo IPv6 addresses assigned, the DNS Client service sends a single query for A records.
If the host has at least one IPv6 address assigned that is not a link-local or Treed address, the DNS Client service sends a DNS query for A records and then a separate DNS query to the same DNS server for AAAA records. If an A record query times out or has an error (other than name not found), the corresponding AAAA record query is not sent."

I've unbound IPv6 from all adapters and added the registry entry "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\Disabled Components" value off to disable IPv6 completely.

The same behavior seems to happen on both Windows 2008 server and Vista with SP1

Does anyone know how to stop these unnecessary AAAA lookups?

Thanks

Peter Lawton

.



Relevant Pages

  • Re: Very slow DNS
    ... > DNS query could take up to 30 seconds. ... While Windows was unaffected, this ... If it's IPv6, the problem is common with other distros, notably Mandrake ... > it's actually the DNS servers at fault. ...
    (alt.linux)
  • Re: Cannot access a web page
    ... First let's find out what your DNS is really telling you. ... Does the lookup give you the same IP address that your HOSTS file ... More importantly that page contains absolutely no reference to Skype ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: disabling aaaa queries
    ... > in DNS. ... > response should be no different than any other DNS lookup, ... > built to try IPv6 addresses first. ... > time switch which can be overridden with a run time option, ...
    (comp.os.linux.networking)
  • Re: DNS SRV Records Question
    ... The DNS Zone name in the Forward Lookup Zone is ad.farlite.co.nz ... Running Win2k server SP4 ... DS RPC Bind. ...
    (microsoft.public.win2000.dns)
  • Re: Non-blocking connect BLOCKS
    ... > I'm using asyncore to download a large list of web pages, ... > noticed dispatcher.connect blocks for some hosts. ... Most likely the connect call is doing a DNS lookup, ...
    (comp.lang.python)