Home / Server / Linux / CentOS / Reverse DNS Check or Test on Linux/Unix System

Reverse DNS Check or Test on Linux/Unix System

Are you a new Linux or Unix command line user? Are you configuring a DNS Server? Do you need to check or test your DNS server configuration? You think, how do you check Reverse DNS for your given ip address under Linux, Unix or Windows base systems?

Reverse DNS lookup is a process to determine the hostname associated with a given IP Address. It is also known as rDNS.

Typically Domain Name System is used to determine what ip address is associated with a given hostname. So reverse resolving is to check the hostname assigned of a known ip address. Reverse lookup is often referred to simply as reverse resolving. It is also known as Reverse DNS lookup.

Why need Reverse DNS lookup?
1. Email delivery
2. Anti-spam filtering
3. Network troubleshooting
4. Protection from spammers and phishers

If you need Primary DNS Server Installation and Configuration visit to remind.

Steps of finding Reverse DNS for IP 122.X.X.102 under Linux or UNIX:

Using dig command:

# dig -x 122.X.X.102
;; ANSWER SECTION:
102.X.X.122.in-addr.arpa.    86400    IN    PTR     mail.example.com.

;; AUTHORITY SECTION:
X.X.122.in-addr.arpa.     86400     IN      NS      mail.example.com.

;; ADDITIONAL SECTION:
mail.example.com.         86400     IN      A       122.X.X.102

Using host command:

# host   122.X.X.102
102.X.X.122.in-addr.arpa  domain  name  pointer  mail.example.com.

Using nslook up command:

# nslookup
> 122.X.X.102
Server:  122.X.X.102
Address: 122.X.X.102#53

102.X.X.122.in-addr.arpa      name = mail.example.com.
>
> mail.example.com
Server:  122.X.X.102
Address: 122.X.X.102#53

Name:   mail.example.com
Address: 122.X.X.102

Using Windows Command:

C:\Users\BCL> nslookup 122.X.X.102
Server:  ns1. wimax.com
Address:  58.X.X.24

Name:    dns1.example.com
Address: 122.X.X.102
Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License.
Red Hat, Inc. is an American multinational software company providing open-source software products to the
Post describes procedure to disable IPv6 on CentOS/RHEL 7. There are 2 ways to do
Today i will show you how to install and configure DNS Server step by step.

About Shyamal

Avatar of Shyamal
Shyamal is our resident tutorial master. He has years of experience with WordPress Platform and is a professional blogger with a special interest in Social Media, Internet Marketing and Web Design. Actually, he is also working on a IT Company as a System Administrator in the fields of Linux and Windows Server, System Administration and Networking.

Check Also

rhel7 wmware configuration

VMware Workstation 11 Configuration before RHEL7 Installation

Hi Everyone. Again i come back with this new post. I’ve already got few email …

2 comments

  1. Avatar of Shyamal

    Hi,
    I am trying to solve reverse dns problem. This article help me lot.

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisment ad adsense adlogger