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.

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
add comment

2 Answers

ping -a 192.168.1.3

will return the hostname, as well as the ping results

nslookup 192.168.1.3

will return the nameserver the IP is using and the hostname

share|improve this answer
add comment

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

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.