This article describes what reverse DNS is, when it is used, and how to configure it for your account.
Reverse DNS lookups (also known as reverse DNS resolution or rDNS), resolve IP addresses to domain names. This is the opposite of regular DNS resolution (also known as forward DNS lookups), which takes a domain name as input and return the associated IP address. Forward DNS lookups use A records to determine a domain name's IP address, while reverse DNS lookups use PTR records to determine an IP address' associated domain name.
To determine if there is a PTR record associated with a particular IP address, you can log in to your account using SSH and then type the following command. Replace xxx.xxx.xxx.xxx with the IP address that you want to test:
dig -x xxx.xxx.xxx.xxx
For example, if you type the following command:
dig -x 22.214.171.124
You receive the following output:
;; QUESTION SECTION: ;126.96.36.199.in-addr.arpa. IN PTR ;; ANSWER SECTION: 188.8.131.52.in-addr.arpa. 42989 IN PTR 184.108.40.206.static.a2webhosting.com.
This output shows that IP address 220.127.116.11 is associated with the domain name 18.104.22.168.static.a2webhosting.com.
If you have a VPS or dedicated hosting account, we can set up reverse DNS for you. To do this, please open a support ticket on the Customer Portal at https://my.a2hosting.com. In the ticket, please specify the domain you want to configure for reverse DNS, as well as your account's IP address.
Shared and reseller servers already have reverse DNS configured. If you find that this is not the case for your account, please open a support ticket and let us know. Make sure you include your domain name and IP address in the ticket.
For more information about reverse DNS, please visit http://en.wikipedia.org/wiki/Reverse_DNS_lookup.