What is rDNS?
If you get pulled over by a cop, the first thing they ask for is your license and registration. If the name on your registration matches your driver’s license then the cop is able to verify that you are the car owner.
Reverse DNS works the same way. rDNS is a type of email authentication that is used to match your mail server IP to your host name.
How does rDNS work?
When you send an email, your recipient’s mail server will check to see if your Sending IP address matches the domain name within the HELO command. This is also known as HELO to IP.
HELO is a command sent by a mail server to begin the process of sending an email. It is used to identify your domain name with your Mail Server IP address.
Here’s a message header with HELO identifying the domain name of a mail server.
Why is rDNS important and how does it affect deliverability?
rDNS is important because it adds credibility to the mail server sending email and functions as an additional layer of email authentication. rDNS allows you to separate valid email senders versus compromised servers that are sending spam.
Another benefit of rDNS is that you don’t need to accept the entire message body to complete a rDNS lookup.
You only need information in your message header which is sent at the beginning of an email chain. If the email fails rDNS, you can refuse it which will save server resources and prevent spam from reaching your inbox.
Several major mailbox providers such as Gmail, Microsoft and Yahoo will block emails coming from a mail server without valid rDNS records. Also, some SMTP servers are configured to reject emails when the rDNS does not match the HELO.
However, keep in mind that mailbox providers place more weight on your overall IP address and domain reputation for deciding where your emails should be routed.
rDNS is only one variable of many that will determine where your message should be delivered.
What does MailGenius cover with regards to rDNS?
- Domain Name & Client IP alignment – We check to make sure the mail server your sending from is the same server within your SPF authentication. We check to see that the sending Mail Server IP & Domain match the ELO domain & Client IP within the SPF from header.
- Existence of PTR record and valid FQDN resolution – We will run a rDNS query to ensure a valid PTR record exists and resolves to the same FQDN for the received from Mail Server IP.
How do I setup rDNS?
If you use an ESP such as Google Apps or Office 365 they are responsible for configuring rDNS for all of their IP addresses. This is also the case if you’re using any email marketing platform like MailChimp to send emails.
You are only responsible for configuring rDNS if you are setting up a mail server, or your ESP has provided you with your own dedicated ip.
In order to setup rDNS you must meet the following requirements:
- You must have access to an Authoritative Nameserver or your DNS in order to make the necessary changes.
- Your sending IP must have a pointer (PTR) record in your DNS that resolves to a valid hostname.
- Your hostname must have an A record in your DNS that matches your sending IP address.
Step 1: Create a Reverse DNS Zone
- The hostname for the zone should start with a portion of your IP address written backwards followed by .in-addr.arpa.
- If your IP Address is 192.168.0.127, you need to remove the final octet which leaves you with 192.168.0
- Now you need to reverse 192.168.0 which is: 0.168.192
- Now append .in-addr.arpa to 192.168.0
- Now you have the completed reverse zone domain of 0.168.192.in-addr.arpa
Step 2: Create a PTR Record
- Add a new PTR record.
- Name it with the final digit of your IP address. In our example above it would be 127.
- For the Canonical Hostname, enter the domain name you’d like the IP address to resolve to: mailserver.example.com
If you don’t meet the requirements above you may need to open a technical support ticket with your hosting provider or ESP and ask for the following:
- Please create a PTR record for the IP address X.X.X.X resolving for yourdomain.example.com.
Example rDNS records:
- The rDNS or PTR record for IP address 184.108.40.206 is mail-io1-f41.google.com
- The A record for mail-io1-f41.google.com is 220.127.116.11
- The PTR record matches the A record therefore rDNS has been properly configured.