Key takeaways
- Run the three checks below, match the result to the symptom table, and fix the record that is wrong.
- Pause sending while you fix it, and send a small test before resuming.
- Use the documentation example IP 203.0.113.10 and substitute yours:
Reverse DNS problems usually appear as a rejected connection, a warning in headers, or a failed sender check, and the message rarely says "PTR". Work from the symptom: run three DNS checks, identify which record is wrong, and fix it at the party that controls it. Porkbun controls the forward records for your domain; the PTR belongs to the holder of the IP. Google's sender requirements describe a correct setup: valid forward and reverse DNS, with the sending IP matching the PTR hostname's IP, sent over TLS.
Research checked: 12 November 2026
The short answer
Run the three checks below, match the result to the symptom table, and fix the record that is wrong. Porkbun fixes your A and TXT records. The IP holder fixes the PTR. Pause sending while you fix it, and send a small test before resuming.
Run the three checks
Use the documentation example IP `203.0.113.10` and substitute yours:
``` dig -x 203.0.113.10 +short dig +short A mail.example.com dig +short TXT example.com ```
The first should return your hostname with a trailing dot. The second should return the same IP. The third shows your SPF record, which helps when the real problem is authentication rather than reverse DNS.
Match the symptom
| Symptom | What the checks show | Cause | Fix |
|---|---|---|---|
| Remote server rejects the connection citing reverse DNS or PTR | First command returns nothing | No PTR set for the IP | Ask the IP holder to create the PTR |
| Mail still flagged after a PTR exists | First command returns a generic provider name | The provider's default PTR is in place | Request a custom PTR, or move sending to an IP where you can set one |
| PTR is correct but forward check fails | PTR returns `mail.example.com.`; the A lookup returns another IP or nothing | Forward A missing or pointing elsewhere | In Porkbun, correct the A record for `mail` to the sending IP |
| Records match but HELO differs | PTR and A both correct; server logs show another HELO name | The MTA announces a name that does not match | Set the HELO or EHLO name to match the PTR hostname |
| Mail leaves from an IP you did not configure | The IP in your logs differs from the one you set up | Sending moved to a relay or a second interface | Confirm the outbound IP on the server, then fix the PTR for that IP |
| Two IPs share one PTR name | Both return the same hostname | Shared hostname across IPs | Give each IP its own hostname if you need separate identities |
Read the checks in order. The reverse record can be right while the forward record is wrong, and a reverse answer that looks correct in isolation can still fail the round trip. Run all three commands in the order given, and do not stop at the first answer that looks right.
Stop, fix, then test
Re-sending the same batch does not repair DNS, and repeated sends from a misconfigured IP can add negative history to that IP. Stop the batch, fix the record, and wait until `dig` shows the change. Do not edit the PTR in Porkbun's panel expecting it to change; the panel controls the forward zone for your domain, not the reverse zone for the IP.
After the IP holder confirms the change, repeat the three commands. The PTR should match the forward A record, and the server's HELO should match both. Check SPF too: a fix that changes the outbound IP can silently break SPF if the new IP is not authorised.