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.
More on DNS
What does DNS do and what happens when you type a URL into a browser?BeginnerWhat are the common DNS record types?BeginnerWhat is the difference between a recursive resolver and an authoritative server?IntermediateExplain the DNS resolution chain step by step with dig.IntermediateWhat is TTL in DNS and how does it affect changes?BeginnerWhat is negative caching in DNS?Intermediate