Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1002
  • Last Modified:

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

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
SAM2009
Asked:
SAM2009
  • 2
3 Solutions
 
NetExpert-WarszawaCommented:
1 - hosts, DNS, optionally WINS/lmhosts
2 - or hosts
3 - DNS only
0
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
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
 
NetExpert-WarszawaCommented:
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
 
SAM2009Author Commented:
Thank you very much!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Building an Effective Phishing Protection Program

Join Director of Product Management Todd OBoyle on April 26th as he covers the key elements of a phishing protection program. Whether you’re an old hat at phishing education or considering starting a program -- we'll discuss critical components that should be in any program.

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