Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

Does PING check DNS server

Sometimes when you ping a hostname of a computer inside the network, even when it is offline it will show the IP address that's mapped to hostname
Sometimes you ping hostname , it does not show the IP address, it just fails to connect to the hostname


I wonder if PING checks DNS first before it checks network connectivity ?


Thanks
SOLUTION
Avatar of Cor Sloot
Cor Sloot

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

If I ping a hostname even if it offline, it shows the mapped IP address, then if I use Nslookup I can see the DNS record for the host

If I ping a hostname when it is offline and if I do not see the mapped IP address then I know that it does not have a record in DNS, because later on if I use Nslookup it does not find the hostname..

I believe PING checks both DNS and the connectivity.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have to imagine that you aren't on a peer-to-peer network.  But, just to be complete, in that case you won't get a return for a local computer using nslookup.  But, you will get Name Service and an IP address with ping.
Avatar of jskfan

ASKER

Thank you Guys