How to test or check reverse DNS
Q. How do I test or check reverse DNS for given IP address under Linux or Windows XP/Server 2003?
A. Reverse DNS lookup (also known as rDNS) is a process to determine the hostname associated with a given IP address.
Typically, the DNS is used to determine what IP address is associated with a given hostname; so to reverse resolve a known IP address is to lookup what the associated hostname for it. A reverse lookup is often referred to simply as reverse resolving, or more specifically reverse DNS lookups.
The most common uses of the reverse DNS are:
=> Anti-spam
=> Network troubleshooting
=> Avoid spammers and phishers using a forward confirmed reverse DNS etc
You can use standard UNIX / Linux utilities such as nslookup, dig or hosts to find out reverse DNS of a given IP address.
Task: Find Reverse DNS for IP 75.126.43.235 under Linux/UNIX
$ host 75.126.43.235
Output:
235.43.126.75.in-addr.arpa domain name pointer cyberciti.org.
IP 75.126.43.235 is reverse mapped to cyberciti.org.
Task: Find Reverse DNS for IP 75.126.43.235 under Linux/UNIX/Windows
nslookup works under Windows and UNIX like oses:
nslookup 75.126.43.235
Output:
Server: 208.67.222.222 Address: 208.67.222.222#53 Non-authoritative answer: 235.43.126.75.in-addr.arpa name = cyberciti.org. Authoritative answers can be found from:
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- How do I find out my mail server blacklisted?
- Explain Usage Of The Linux Left Bracket /usr/bin/[ Command
- Shell script reverse lines of a file
- How To Test Linux Operating System for IPv6 Networking Support
- Howto see output of C program in Linux or UNIX
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: addr arpa, ip address, network troubleshooting, nslookup_command, reverse dns lookup, reverse dns lookups, reverse lookup


September 29th, 2007 at 2:22 pm
Vivek,
How r u man?
Vivek, how can I do a reverse ip check to a domain or box in order to know what websites is hosted on that box ?
I need a linux COMMAND not solving it using a website. Can u help me ?
March 13th, 2008 at 9:25 am
its very simple
dig -x IP (209.267.166.166)