Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Jan 5 '10 at 13:22

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

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

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 "" address range (this is a special domain reserved in DNS for reverse lookups).

share|improve this answer

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

share|improve this answer

Yep, it's called Reverse DNS! Perhaps try:

Also consider DNSStuff: 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

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

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .