Solved

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

Posted on 2011-02-11
4
984 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Want Win 10 Pro to search like Server 2010 or 2012 27 114
DNS CNAME records visibility on a web server 2 42
No IP Address Assigned to VM 10 93
Mail Exchanger (MX) Record 5 41
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Resolve DNS query failed errors for Exchange
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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