Solved

Questions about PING and NSLOOKUP cmd: How the host name is resolved?

Posted on 2011-02-11
4
969 Views
Last Modified: 2012-05-11
Hi,

1- What's the order that ping cmd will resolve a host name? Check on DNS first and WINS after?

2- If the ping result doesn't give the FQDN does it means it has been resolved by WINS?

3- Does NSLOOKUP cmd is just relate to DNS server? (I mean will not communicate to WINS)
0
Comment
Question by:SAM2009
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
NetExpert-Warszawa earned 300 total points
ID: 34875275
1 - hosts, DNS, optionally WINS/lmhosts
2 - or hosts
3 - DNS only
0
 
LVL 39

Assisted Solution

by:Krzysztof Pytko
Krzysztof Pytko earned 200 total points
ID: 34875403
1) local DNS cache, hosts file, DNS server(s), NetBIOS, WINS server, lmhosts file
2) yes, if your echo request doesn't have FQDN it's NetBIOS name
3) nslookup gets information only fom DNS server

Regards,
Krzysztof
0
 
LVL 10

Assisted Solution

by:NetExpert-Warszawa
NetExpert-Warszawa earned 300 total points
ID: 34877216
Krzysztof,

Ad. 1.
You are right. I've forgotten about cache. BTW NETBIOS names use a cache too.
The order broadcast (NETBIOS) / WINS depends on settings. It is usually set to WINS first, broadcast next.

Ad. 2.
You do not need to specify a domain name in a hosts file. A name without a domain could come from the hosts file.
0
 
LVL 1

Author Closing Comment

by:SAM2009
ID: 34879682
Thank you very much!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now