Glossary / PTR record (reverse DNS)
PTR record (reverse DNS)
A PTR record (pointer, reverse DNS) does the opposite of an A record: it turns an IP address back into a hostname, so 192.0.2.10 resolves to mail.example.com. Mail servers need it most, because with a proper PTR their messages are treated as genuine.
Check your site
Regular DNS answers "what is the IP for this domain," and reverse DNS answers the opposite: "what is the name for this IP." PTR records live in a separate zone (in-addr.arpa for IPv4) controlled by whoever owns the IP, usually the host or ISP, and the domain owner cannot edit them.
Their main use is email. Many mail servers check whether the sender's IP has a valid PTR and whether it matches the server's name (forward and reverse resolution). If the PTR is missing or random, the message easily lands in spam or gets rejected.
So you rarely set a PTR yourself in a domain panel: the host or server owner almost always does it. On shared hosting the provider has usually handled it already; the question comes up with a dedicated IP or your own mail server.
Example
10.2.0.192.in-addr.arpa. 3600 IN PTR mail.example.com.
Common mistakes
- Trying to add a PTR in your own domain's zone. It lives in the IP's zone and is set by the IP owner.
- Thinking every site needs a PTR. It is critical mainly for mail servers.
- Leaving a PTR that does not match the server's name, so mail loses trust even though the record exists.
- Confusing forward and reverse DNS: A takes a name to an IP, and PTR takes an IP back to a name.