Key takeaways
- Give each cold sending IP one hostname, make that hostname resolve back to the same IP, and keep cold traffic on IPs that do not carry your transactional mail.
- Gmail's requirement is a forward and reverse match.
- Everything else is about keeping one stream's problems from landing on another.
For cold sending, the PTR decision is mostly about IP ownership and hostname planning. A custom PTR only exists on a dedicated IP, because Mailgun's reverse DNS article says rDNS cannot be customised on shared IPs. So the first decision is whether your cold stream can justify its own dedicated address, and the second is which hostname that address should present. Read Mailgun's terms on cold outreach before you plan volume around this.
Research checked: 12 November 2026
This guide covers the planning decisions. The DNS steps are in the how-to guide, and the error table is in the errors guide.
The short answer
Give each cold sending IP one hostname, make that hostname resolve back to the same IP, and keep cold traffic on IPs that do not carry your transactional mail. Gmail's requirement is a forward and reverse match. Everything else is about keeping one stream's problems from landing on another.
Decision 1: shared or dedicated
On a shared IP you cannot choose the PTR, so you cannot use a hostname that matches your cold domain. Mailgun's article says rDNS "can't be done with shared IPs since rDNS can only resolve for one hostname." If your cold sending depends on a PTR that matches its domain, you need a dedicated IP.
Ask yourself two questions before paying for or requesting one:
- What daily volume will this stream send to Gmail? Google's sender requirements apply to bulk senders at 5,000 or more messages a day, and say sending IPs need valid forward and reverse DNS.
- Would a complaint spike on this stream harm other mail on the same address? If yes, keep it separate.
Do not decide the volume from a number you have read elsewhere. Model it from your own lists, then test.
Decision 2: which hostname
Use a hostname on a subdomain you own for sending, such as `mail.example.com`, and keep it distinct from your web and corporate mail. Make one hostname per dedicated IP. If two IPs share one hostname, you cannot tell their reputation apart when you read the logs.
Avoid hostnames that name a tool or a campaign, because you may change tools. A hostname such as `mail1.example.com` survives a change of vendor better than `mailgun.example.com`.
Decision 3: one stream per IP.
Put cold outreach on its own dedicated IP and keep your transactional or customer mail on another. If one stream's complaints rise, the other keeps its record. This is an operator's choice, not a rule from any vendor, so write down the reason and review it when volume changes.
Cold-stream checklist
- The IP is dedicated, and you have Mailgun's confirmation of that.
- The hostname is on a sending subdomain and has one owner in your DNS.
- The A record resolves to the IP, and `dig -x` on the IP returns that hostname.
- The From domain, the hostname and the DKIM domain are all related to the same organisation.
- Every cold message has a clear opt-out line and your real sender identity. Check the law for your jurisdiction; this is not legal advice.
- You have a written rule for when to pause the stream, such as Google's spam-rate thresholds of 0.10% for a stop line and 0.30% as the ceiling.
Test before you scale.
Send a small, real batch to Gmail addresses you control and to a few seed accounts. Check the headers for SPF and DKIM results, then run `dig -x` and the forward lookup from the how-to guide. Only increase volume when both checks match on the exact IP that sent the mail. Test on your own list before drawing conclusions from any single batch.