I have a problem with ping dns resolution, and I was wondering whether
anyone could she any light on the matter.
Basically, the problem seems to be that nslookup will correctly use
the dns search list but ping won't.
Here are the details:
Our internal network has two domains, east.mycompany.local and
west.mycompany.local.
My computer is mine.east.mycompany.local. It has it's primary domain
name suffix set to east.mycompany.local and the dhcp'd domain-name set
to east.mycompany.local.
My connection's advanced dns settings are set to "append primary and
connection specific DNS suffixes" and the "append parent suffixes of
the primary DNS suffix" is also checked.
The computer I am trying to resolve is: yours.west.mycompany.local
The following are the results. I ran ipconfig /flushdns before testing
and packet sniffed the dns server to discover what was actually being
queried with each command:
type name success sent to dns
------------------------------------+-----
+-----------------------------------
ping yours | no |
yours.east.mycompany.local.
| | yours.mycompany.local.
------------------------------------+-----
+-----------------------------------
ping yours.west | no | yours.west.
------------------------------------+-----
+-----------------------------------
ping yours.west.mycompany.local | yes |
yours.west.mycompany.local.
------------------------------------+-----
+-----------------------------------
nslookup yours | no |
yours.east.mycompany.local.
| | yours.mycompany.local.
------------------------------------+-----
+-----------------------------------
nslookup yours.west | yes |
yours.west.east.mycompany.local.
| |
yours.west.mycompany.local.
------------------------------------+-----
+-----------------------------------
nslookup yours.west.mycompany.local | yes |
yours.west.mycompany.local.
------------------------------------+-----
+-----------------------------------
Because I'm sure someone will ask, here is my ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : mine
Primary Dns Suffix . . . . . . . : east.mycompany.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : east.mycompany.local
mycompany.local
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : east.mycompany.local
Description . . . . . . . . . . . : Broadcom NetLink (TM) Fast
Ethernet
Physical Address. . . . . . . . . : <snip>
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.11.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.11.1.254
DHCP Server . . . . . . . . . . . : 10.11.1.254
DNS Servers . . . . . . . . . . . : 10.11.1.254
NetBIOS over Tcpip. . . . . . . . : Enabled
Can anyone enlighten me as to why nslookup uses the search list and
ping doesn't ?
|