Glossary
Reverse DNS (PTR record)
Definition
Reverse DNS (PTR record): A DNS lookup that maps an IP address to a host name, answered by a PTR record stored under the in-addr.arpa (IPv4) or ip6.arpa (IPv6) domain. The record is set by whoever controls the IP address, and mail servers check it on senders.
Also known asrDNSPTR recordreverse DNS lookupreverse lookup
In short
Reverse DNS is the lookup that turns an IP address into a host name, the opposite of a normal DNS lookup. The answer comes from a PTR record, which lives in a special domain controlled by whoever owns the IP address, not in your own domain's DNS. Receiving mail servers check that a sender's address has a PTR record and that the name points back to the same address.
Key takeaways
- Reverse DNS maps an IP address to a host name through a PTR record.
- The address is written backward under in-addr.arpa, so 203.0.113.25 becomes 25.113.0.203.in-addr.arpa.
- The owner of the IP address sets the PTR record, usually a hosting provider, not your DNS host.
- Mail servers expect forward-confirmed reverse DNS, where the PTR name resolves back to the same address.
- Gmail requires valid forward and reverse DNS for every sending server.
Last reviewed 30 November 2026
Reverse DNS is the lookup that turns an IP address back into a host name, the opposite of the usual name-to-address lookup. The answer comes from a PTR record. RFC 1035 set up the special in-addr.arpa domain for this "host address to host name mapping," with each address written backward: its example puts the data for 10.2.0.52 at 52.0.2.10.IN-ADDR.ARPA.
A worked example#
Your company's mail server sends from 203.0.113.25 and calls itself mail.example.com. A receiving server checks both directions:
dig +short -x 203.0.113.25
# mail.example.com.
dig +short A mail.example.com
# 203.0.113.25The records behind those answers:
25.113.0.203.in-addr.arpa. PTR mail.example.com.
mail.example.com. A 203.0.113.25Because the PTR name points back to the same address, this is forward-confirmed reverse DNS. Gmail's sender guidelines list it among the requirements for all senders: "valid forward and reverse DNS records, also referred to as PTR records."
What short definitions miss#
You probably can't set it yourself. The PTR record sits in the reverse zone of whoever owns the IP address, usually a hosting provider, cloud platform or internet provider. Adding a PTR record at your DNS host for example.com does nothing, because nobody looks there.
It names the server, not your domain. The PTR belongs to the sending machine. A provider's server can send mail for thousands of domains with one PTR name, and that's normal. Domain-level checks are the job of SPF, DKIM and DMARC.
The forward check is what gives it weight. Anyone who controls an address block can point its PTR records at any name. Receiving servers give it weight only when that name resolves back to the same address.
In Foxcolab#
Foxcolab Mail handles reverse DNS for you. Mail from your custom domain leaves through Foxcolab's own sending server, whose address has a PTR record naming the server, and that name resolves back to the same address. You publish only the records that belong to your domain: the ownership TXT record, MX, SPF, DKIM and DMARC under Organization Details → Domains, then select Verify DNS.
If a message still bounces, the reply code tells you why, as Fix email delivery problems explains. Custom domains come with the Pro plan and above, so see plans or create a free account.
Keep exploring
Related terms
- DNS (Domain Name System)DNS is the internet's directory. It turns a name like example.com into the records computers need, from a website's address to the servers that accept a domain's mail.
- MX recordAn MX record is the DNS entry that names the servers accepting email for a domain and sets the order in which sending servers try them.
- DNS TXT recordA TXT record is the DNS record that holds free-form text. Email authentication, DKIM keys and domain-verification tokens all live in TXT records.
- SMTP (Simple Mail Transfer Protocol)SMTP is the protocol that sends email, from your mail app to your provider and from one mail server to the next. Here's what a session looks like, which port does what and what STARTTLS really protects.
- SPF (Sender Policy Framework)SPF is a DNS record that lists which servers may send email for your domain, so receiving servers can spot mail from anywhere else.
- Email bounceAn email bounce is the notice you get back when a message can't be delivered. Its reply code says whether the problem is permanent or temporary, and usually what to fix.
- Spam filterA spam filter decides which incoming email is unwanted and keeps it out of your inbox. Here's how filters decide, why none is perfect, and what encryption changes.
Where Foxcolab uses it
Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.