Key takeaways
- You can only set a PTR record for an IP address you control.
- On a shared SES sending pool you do not own the IP, so you cannot add a PTR there.
- If you need your own hostname in reverse DNS, use a dedicated IP that you have arranged with AWS, or send from an Elastic IP in EC2 where you can set the reverse DNS yourself.
A PTR record maps an IP address back to a hostname. Receiving mail servers often check that the IP sending a message has a PTR record that resolves forward to the same name. Who can set that record depends on who owns the IP address. Amazon SES sends from IPs that AWS manages, so the first step is to find out which kind of sending you are doing before you touch DNS.
Research checked: 12 November 2026
The short answer
You can only set a PTR record for an IP address you control. On a shared SES sending pool you do not own the IP, so you cannot add a PTR there. If you need your own hostname in reverse DNS, use a dedicated IP that you have arranged with AWS, or send from an Elastic IP in EC2 where you can set the reverse DNS yourself. In both cases, create the forward A record first, then the PTR, then verify both directions.
Set up the PTR record
Step 1: Identify the sending IP
Find the sending path first:
- Shared SES pool: AWS owns the IP. You do not set its PTR. Check your SES sending settings and the AWS documentation for how dedicated IPs are provisioned, because the procedure is AWS's to define.
- Dedicated IP through AWS: Confirm the process with AWS documentation or AWS Support. We could not fetch a current SES-specific reverse DNS procedure in this session, so do not assume the EC2 steps below apply to SES dedicated IPs.
- EC2 Elastic IP that you send from: You can set the reverse DNS yourself, as the steps below show.
Step 2: Create the forward record (EC2 example)
Before you create a PTR record, the AWS EC2 reverse DNS guide says you must first set a forward A record that resolves to the Elastic IP. Include every Elastic IP you plan to use in that forward record. For a placeholder example, the record looks like this:
``` mail.example.com. A 192.0.2.10 ```
Use the IP from your own account. `192.0.2.10` is a documentation address and will not work for you.
Step 3: Set the PTR
The guide describes the console path: open the Elastic IP, choose Actions, then Update reverse DNS, enter the domain name, type `update` to confirm, and choose Update. The CLI equivalent is:
``` aws ec2 modify-address-attribute \ --allocation-id eipalloc-abcdef01234567890 \ --domain-name mail.example.com ```
The output shows the PTR as `PENDING` until AWS applies it. Check again after it changes to active.
Step 4: Verify both directions
Run these checks from a terminal:
``` dig +short -x 192.0.2.10 ```
The expected output is `mail.example.com.`, with the trailing dot. Then check the forward direction:
``` dig +short A mail.example.com ```
The expected output is `192.0.2.10`. The two must match. A PTR that points to a name with no matching A record is a common failure, and a PTR that resolves to a different IP is worse.
Worked example
A team sends from an EC2 Elastic IP that resolves to `192.0.2.10`. They set the PTR to `mail.example.com`, but `dig +short A mail.example.com` returns `192.0.2.20`, a second server they retired. The reverse lookup passes and the forward lookup fails. Updating the A record to the current IP fixes the mismatch, and both commands then return the same address.