J
JDavis
I have a Vista Home Premium system that I am attempting to configure to use
a single-label (unqualified) DNS domain. The network has a DNS server. On
my XP systems, I simply put a single "." (period) in the "Append these DNS
suffixes (in order)" in the "Advanced TCP/IP settings" dialog, and this
works consistently. This allows me to resolve single-label names without a
trailing period, as in "ping hostname".
I gave my Vista system a similar configuration. The strange thing is, when
I "ping hostname" the first time, it resolves the name. Subsequent attempts
fail. If I flush the DNS cache (ipconfig /flushdns) it will work again -
once. Also, if I allow the cache to time out, it will also work again one
time. Another oddity is that when I display the DNS cache entries I do not
see the entry for "hostname".
Digging a little bit further, I sniffed the network traffic. On the initial
name resolution attempt, I see a standard query for an "A" record followed
by the server response, as I would expect. On subsequent attempts, I see 2
IPv4 LLMNR and 2IPv6 LLMNR probes, followed by 3 NBNS broadcast requests.
There is no DNS query.
Is this a bug? I would expect that after the initial attempt that Vista
would use the cached DNS info to perform the resolution, but this does not
appear to be the case. Any ideas?
Thanks,
-Jeff
a single-label (unqualified) DNS domain. The network has a DNS server. On
my XP systems, I simply put a single "." (period) in the "Append these DNS
suffixes (in order)" in the "Advanced TCP/IP settings" dialog, and this
works consistently. This allows me to resolve single-label names without a
trailing period, as in "ping hostname".
I gave my Vista system a similar configuration. The strange thing is, when
I "ping hostname" the first time, it resolves the name. Subsequent attempts
fail. If I flush the DNS cache (ipconfig /flushdns) it will work again -
once. Also, if I allow the cache to time out, it will also work again one
time. Another oddity is that when I display the DNS cache entries I do not
see the entry for "hostname".
Digging a little bit further, I sniffed the network traffic. On the initial
name resolution attempt, I see a standard query for an "A" record followed
by the server response, as I would expect. On subsequent attempts, I see 2
IPv4 LLMNR and 2IPv6 LLMNR probes, followed by 3 NBNS broadcast requests.
There is no DNS query.
Is this a bug? I would expect that after the initial attempt that Vista
would use the cached DNS info to perform the resolution, but this does not
appear to be the case. Any ideas?
Thanks,
-Jeff