ping -a w.x.y.z
Should resolve the name from the IP address if the reverse lookup zone has been set up properly. If the reverse lookup zone does not have an entry for the record, the -a will just ping without a name.
ping -a w.x.y.z
Should resolve the name from the IP address if the reverse lookup zone has been set up properly. If the reverse lookup zone does not have an entry for the record, the -a will just ping without a name.
nslookup <ip>
Does what you're looking for. It will tell you the server you're querying and the result.
For example:
c:\>nslookup 192.168.101.39
Server: dns1.local
Address: 192.168.101.24
Name: enigma.local
Address: 192.168.101.39
Videos
What is the difference between reverse IP lookup and reverse DNS lookup?
What is reverse DNS lookup?
How does reverse DNS lookup work?
The commands dig and host should be what you're looking for ;)
On *nix systems, you can use this command:
dig -x [address]
Alternatively, you can add +short at the end of the dig command to output only the DNS result.
There's also nslookup on both *nix and Windows systems for reverse DNS requests.
On *nix you can use:
dig -x [address]