Email servers
Some receiving mail servers look at the sending IP reverse name. Hosting providers commonly ask you to set it for a mail server.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
A reverse DNS lookup finds the hostname for an IP address by querying a PTR record in the in-addr.arpa zone (IPv4) or ip6.arpa zone (IPv6). The octets of the address are written backwards, so 8.8.8.8 is looked up as 8.8.8.8.in-addr.arpa.
| IP address | Reverse name queried | Rule |
|---|---|---|
| 10.2.0.52 | 52.0.2.10.in-addr.arpa | IPv4 octets reversed (RFC 1035, 3.5) |
| 8.8.8.8 | 8.8.8.8.in-addr.arpa | Same octets, reversed order is identical |
| 2001:db8::1 | 1.0.0.0. ... 8.b.d.0.1.0.0.2.ip6.arpa | Each hex digit (nibble) reversed (RFC 3596) |
$ nslookup 8.8.8.8
Server: dns.google
Address: 8.8.8.8
Name: dns.google
Address: 8.8.8.8
$ dig -x 8.8.8.8 +short # macOS / Linux
$ dig -x 2001:4860:4860::8888 +shortReverse zones are delegated to the organization that holds the addresses: normally your hosting provider, cloud provider or ISP, not your domain DNS host.
Most hosts offer a "reverse DNS" or "PTR" field per IP address. Enter the hostname you want, such as mail.example.com.
Add an A (or AAAA) record so that mail.example.com resolves to the same IP.
Run nslookup 192.0.2.25 and nslookup mail.example.com; the results should match.
Some receiving mail servers look at the sending IP reverse name. Hosting providers commonly ask you to set it for a mail server.
Traceroute and log analyzers show names instead of raw addresses.
A meaningful PTR name helps others identify who runs an address.
nslookup reports a nonexistent domain for the address. Ask the IP owner to add one.
Hosts often pre-fill a name based on the IP address. Replace it with a hostname that matches your own forward record.
The PTR name resolves to a different IP, so checks that compare both directions fail.
A reverse DNS lookup starts from an IP address and returns a hostname. It is the opposite of a normal lookup and uses PTR records stored under in-addr.arpa for IPv4 and ip6.arpa for IPv6.
A PTR (pointer) record holds a hostname and sits at the reverse name of an IP address. It points to another place in the domain tree as plain data, with no alias processing.
The reverse zone belongs to whoever owns the IP block, so the record is created at your hosting provider or ISP. Your domain DNS host has no authority over in-addr.arpa entries for your address.
Open Command Prompt and run nslookup followed by the IP address. If the address has a PTR record, nslookup prints the name; otherwise it reports a nonexistent domain.
DNS allows it, but one PTR per address is the safe practice. Software that reads the reverse name usually takes the first answer, and several names can make the result unpredictable and break checks that compare names.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.