Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an IP address, xx.xx.xx.xx, for which ping works. But when I do an nslookup for that IP address it is failing. Is there a way to find the domain name of the machine with the IP address xx.xx.xx.xx?

share|improve this question

migrated from stackoverflow.com Jan 5 '10 at 13:22

This question came from our site for professional and enthusiast programmers.

add comment

5 Answers 5

  1. The machine will not necesserily have a domain name.
  2. Try traceroute
share|improve this answer
add comment

The only way to do this is via a reverse DNS lookup. However, if you are saying that nslookup is failing then (unless there is a local issue with you having bad DNS servers listed on your local machine), then a reverse lookup will not work.

The various tools that other posters have mentioned, all ultimately do exactly the same the nslookup will do from your machine. They do a reverse DNS lookup via the "in-addr.arpa" address range (this is a special domain reserved in DNS for reverse lookups).

share|improve this answer
add comment

You need to use a "reverse DNS lookup". Try this one online, or Google further for other options.

share|improve this answer
add comment

Yep, it's called Reverse DNS! Perhaps try: http://remote.12dt.com/

Also consider DNSStuff: http://www.dnsstuff.com/ great website for troubleshooting DNS issues.

share|improve this answer
    
I doubt this will work. nslookup is doing exactly this type of reverse lookup when yu type in an ip address. Unless there is a local issue on the client with DNS entries, it will yield the same results. –  Rob Levine Jan 5 '10 at 13:19
add comment

In order for an IP address to resolve to a hostname, a PTR record must exist in DNS. For example:

234.9.96.65.in-addr.arpa. 3570  IN      PTR     h00c0f06bacf1.ne.client2.attbi.com.

The ISP that owns the netblock including your IP (or its delegated zone authority) must set this up.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.