What is a PTR record and reverse DNS?

BeginnerConceptDNS
Answer

PTR maps an IP back to a name, stored under in-addr.arpa with octets reversed (5.1.0.10.in-addr.arpa). Mail servers check it, and logging tools use it to display hostnames.

dig -x 8.8.8.8 +short

Cloud providers let you set it for Elastic IPs and public IPs only through their console or API; for private ranges you manage reverse zones yourself.

All Networking questions Roadmap: Networking for DevOps

More on DNS