Suped

How do I configure reverse DNS (rDNS) with multiple IP addresses for email sending?

Summary

Configuring reverse DNS (rDNS) for email sending when using multiple IP addresses can seem complex, but the core principle is that each unique IP address requires its own distinct PTR (pointer) record. While you might want all IP addresses to point back to a single main sending domain, the best practice involves creating specific hostnames (e.g., mail1.yourdomain.com, mail2.yourdomain.com) for each IP. Each of these hostnames should then have its rDNS record (PTR record) configured by your IP provider (typically your ESP or hosting provider) to point back to that unique hostname, and an A record on your end to resolve the hostname to the IP. These specific hostnames should, however, be within the same overarching domain space as your primary sending domain to maintain alignment for mailbox providers. For further reading on related topics, you might want to explore best practices for reverse DNS resolution or email service provider guidelines for HELO, rDNS, and SPF. Understanding how rDNS works can significantly improve your email deliverability rates.

What email marketers say

Email marketers often encounter challenges when scaling their email infrastructure, particularly when moving from a single IP setup to multiple dedicated IP addresses. The process of configuring rDNS (reverse DNS) for these additional IPs can introduce confusion, as traditional DNS A records map a hostname to an IP, but rDNS maps an IP back to a hostname. Marketers frequently wonder if their preferred sending domain can be the direct rDNS target for all IPs, or if unique hostnames are required for each IP address, and if so, how this affects deliverability. The community largely agrees that while DNS allows flexibility, email deliverability best practices lean towards more precise configurations to ensure mailbox providers can easily verify sender identity, impacting inbox placement and sender reputation. Learning how to run an email deliverability test is a crucial step after configuring rDNS.

Marketer view

Email marketer from Email Geeks explains that they were confused about rDNS when trying to send from multiple IP addresses. They initially thought they could not point the same hostname to multiple IP addresses with different A records, leading to uncertainty about how to properly set up PTR records for their authenticated subdomain.

31 May 2022 - Email Geeks

Marketer view

Email marketer from Spiceworks Community observes that you generally have only one rDNS entry per IP address. They recommend picking a primary domain and using that for the rDNS, then relying on SPF records for additional verification.

22 Jun 2013 - Spiceworks Community

What the experts say

Email deliverability experts consistently advise that while the DNS system allows flexibility, email sending protocols and receiving mailbox providers (MBPs) require a more stringent approach to rDNS configuration, especially with multiple IP addresses. The consensus is that each dedicated IP address should have a unique, resolvable PTR record that points to a specific hostname. This hostname, in turn, should have a corresponding A record pointing back to that IP. Furthermore, experts highlight the importance of ensuring these hostnames fall within the same broader domain as your primary sending domain, even if they have prefixes. This setup helps maintain trust and avoids potential blocklisting or filtering by recipient servers. It's a key part of maintaining good domain reputation.

Expert view

Expert from Email Geeks (U02KPM4GEDB) advises that using distinct hostnames such as mta.ml.hostname.com and mta2.ml.hostname.com for multiple IP addresses is the common and expected approach, similar to practices at large organizations like Salesforce.

31 May 2022 - Email Geeks

Expert view

Expert from Spam Resource explains that while you can technically have multiple IP addresses for the same hostname in general DNS, for email, it's highly recommended to have a one-to-one mapping between an IP address and its PTR record for optimal deliverability.

15 Apr 2024 - Spam Resource

What the documentation says

Technical documentation for DNS and email sending consistently outlines the requirements for reverse DNS configuration, particularly for multiple IP addresses. The standard dictates that each IP address used for sending mail must have a corresponding PTR record, enabling reverse lookup to a hostname. While the PTR record is managed by the IP owner (e.g., your ESP or hosting provider), you, as the domain owner, are responsible for creating the forward A record that maps the chosen hostname to the IP. This creates the necessary bidirectional resolution that receiving mail servers expect for verification. The documentation stresses the importance of this alignment for anti-spam filters and overall email deliverability. For more on the specifics, check out articles on DMARC, SPF, and DKIM, as these authentication methods often rely on correct rDNS.

Technical article

The CloudNS Blog clarifies that reverse DNS (rDNS) requires creating a special type of DNS zone, known as a Reverse DNS zone, as it's the exclusive location where PTR records can exist and function effectively.

29 Jan 2018 - ClouDNS Blog

Technical article

ISIPP.com documentation advises that when configuring a mail server, it's crucial to select a suitable name and IP address. They stress the importance of adding the rDNS for a new IP address immediately upon allocation to ensure proper setup.

10 Apr 2019 - ISIPP.com

5 resources

Start improving your email deliverability today

Get started