• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 992
  • Last Modified:

How can one tell if ping returns a response using WINS or using DNS?

When attempting to use the PING command on a Windows XP machine how can one determine if the resulting IP for the HOST was via WINS or via DNS?

Is there any way to Force either DNS only or WINS only?

What happens if there is a difference or conflict between the same entry in DNS and in WINS

Obviously we are talking about pinging a one word host that is shorter than the WINS requirement.
0
Mansoor Nathani
Asked:
Mansoor Nathani
  • 3
3 Solutions
 
meugenCommented:
if you do a ping computer_name and you get only:

pinging COMPUTER_NAME[ip_of_computer_name] with 32 bytes of data:
Blah, blah

then the answer is coming from WINS

if you do same ping and you get:
pinging COMPUTER_NAME.domain.local[ip_of_computer_name] with 32 bytes of data:
Blah, blah
then the answer is coming from your DNS.
HTH
0
 
Mansoor NathaniAuthor Commented:
Does nslookup strictly use DNS?   If so are there any such tools that use WINS only for lookup?

what happens when the data in WINS and DNS are not the same? Which one over rides the other.

Is there Registry settings to change the order of what is looked up?
0
 
meugenCommented:
nblookup is the tool similar to nslookup used for WINS name resolution.
this is the NetBIOS name resolution:
--NetBIOS name cache
--WINS
--B-cast
--LMHOSTS
--HOSTS
--DNS
This is by design.
In case data in WINS and DNS are not the same then the easiest is to delete the records in both WINS and DNS and then try to re-register that computer again.
0
 
meugenCommented:
Host Name Resolution:
Local Host name
HOSTS
DNS
NetBIOS name cache
WINS
B-cast
LMHOSTS
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now