Simple Ping Question

I thought that if I pinged with an IP address, the alphabetic DNS name comes would come back.  I have tried many of the options and nothing seems to work.  Isn't goind directly to the black screen MS-DOS prompt the same as going the Start, Run, Command route?
                                 - Ralphiep
RalphiepAsked:
Who is Participating?
 
jabiiiConnect With a Mentor Commented:
your logic is backwards, if you ping the dns name, ping will return the IP in the process, by using nslookup.
0
 
carl_legereCommented:
nslookup ipaddress
0
 
CKWTConnect With a Mentor Commented:
well...
If it does not give a in addr reverse (alpabetic) name is because your DNS server does not have the zones created to handle those internal names

If you want to force to ping to resolve type "ping <IP address> -a"

for you to learn more about ping in CMD windows jsut type "ping" and hit <enter> and it will display help to show different uses.

What I use is tracert to find DNS names for IP's, tracert google.com and or tracert 72.14.207.99 and it will go resolving names while it finds IP in question..

Hope to help

CKWT
0
Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

 
carl_legereCommented:
tracert and nslookup are cavetools but sometimes helpful
0
 
HypercubeTechCommented:
try tracert IP
tracert 4.2.2.1
0
 
liamkellycabraCommented:
If I understand you correctly, you want to ping an address and get the host name back?

try
Ping -a [address]

also good for info on machine is:
NBTSTAT -a [address]

these will only work with machines using netbios so if it's just a box with IP it will give you IP info only...
Liam
0
 
mikefalconeCommented:
nbtstat -A [address]  


using a lowercase a is for doing the reverse.

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.

All Courses

From novice to tech pro — start learning today.