Knowledge Base

What Is Reverse DNS and How to Set It Up

DNS logo

Reverse DNS (rDNS) is the opposite of standard DNS. Instead of translating a domain name into an IP address, it translates an IP address back into a domain name. This is most commonly used to verify the identity of mail servers and improve email deliverability.


Why Reverse DNS Matters

  • Email deliverability: Many mail servers check rDNS as part of spam filtering. If your mail server's IP address does not have a valid rDNS record, your emails may be rejected or marked as spam.
  • Server identification: rDNS makes it easier to identify servers in logs and network diagnostics.
  • Trust signals: A correctly configured rDNS record adds legitimacy to your server.

How Reverse DNS Works

1. Standard DNS Lookup

  • A standard DNS lookup translates mail.example.com into 192.0.2.1.

2. Reverse DNS Lookup

  • A reverse DNS lookup translates 192.0.2.1 back into mail.example.com.
  • This is done using a special domain called in-addr.arpa. For example, the rDNS record for 192.0.2.1 would be stored at 1.2.0.192.in-addr.arpa.

How to Set Up Reverse DNS

Reverse DNS records (PTR records) are managed by the owner of the IP address - usually us or your VPS provider, not your domain registrar.

1. Identify Your IP Address

  • Note the IP address of your mail or web server.

2. Contact Support

  • Log in to your hosting control panel or open a support ticket with your provider.
  • Request that a PTR record be created pointing your IP address to your desired hostname (e.g. mail.yourdomain.com).

3. Verify the Record

  • Once set, verify your rDNS record using a tool such as MXToolbox or by running the following command in a terminal:
dig -x 192.0.2.1
  • Replace 192.0.2.1 with your server's IP address.

Reverse DNS is a simple but important configuration step, particularly for mail servers. Ensuring your IP address resolves correctly to your hostname helps protect your email reputation and improves deliverability.

Next: How to Configure SPF, DKIM and DMARC Records covers the other records that affect mail delivery.

If you have any questions, please contact our support team for assistance.

Please rate this article to help us improve our Knowledge Base.

0 0