Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Suppose that there are some hosts and one server in the same network that has DNS server running. Also suppose that there is no knowledge of what domain name (or hostname, you can say) is.

By using only IP address, is there any way I can use to figure out what domain name hosts use?

share|improve this question

2 Answers 2

ping -a

will return the hostname, as well as the ping results


will return the nameserver the IP is using and the hostname

share|improve this answer

Also, you could nslookup your own IP address. If this is a Windows system, ipconfig also gives you this information.

share|improve this answer

Your Answer


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.