Run a full scan — every category, one report
Reverse DNS Lookup
Find the hostname associated with an IP address (PTR record lookup).
Evidence
ASSESSED
- Checked against
- Reverse DNS in in-addr.arpa / ip6.arpa · RFC 1035
RED TEAM
0
findings
BLUE TEAM
control did not hold
Our Reverse DNS Lookup resolves any IPv4 or IPv6 address to the hostname registered for it, then checks whether that hostname resolves back to the same address. This forward-confirmed check is exactly what mail receivers and security tools perform before trusting a connection.
What is Reverse DNS?
Reverse DNS is the process of resolving an IP address to a hostname — the opposite direction from the usual lookup. Where a forward lookup asks "what address serves example.com", a reverse lookup asks "what name is registered for 93.184.216.34".
The answer comes from a PTR record published in a special reverse zone: in-addr.arpa for IPv4 and ip6.arpa for IPv6. The address is written backwards in that name, so 93.184.216.34 becomes 34.216.184.93.in-addr.arpa.
Crucially, reverse DNS is controlled by whoever owns the IP address block, not by the owner of the domain the name belongs to. That is why setting it usually means asking your hosting provider.
The answer comes from a PTR record published in a special reverse zone: in-addr.arpa for IPv4 and ip6.arpa for IPv6. The address is written backwards in that name, so 93.184.216.34 becomes 34.216.184.93.in-addr.arpa.
Crucially, reverse DNS is controlled by whoever owns the IP address block, not by the owner of the domain the name belongs to. That is why setting it usually means asking your hosting provider.
- Resolves an IP address to a hostname using PTR records
- Lives in the in-addr.arpa and ip6.arpa reverse zones
- Controlled by the IP block owner, not the domain owner
- Checked by mail servers before accepting a connection
- Makes logs, traceroutes and monitoring output readable
Why Reverse DNS Matters
Reverse DNS is the first thing a receiving mail server learns about a connection, before any message content or authentication. A connecting IP with no reverse entry looks like a compromised home machine, and many large receivers close the connection on that basis alone.
The stricter test is forward-confirmed reverse DNS: the PTR must name a hostname, and that hostname must resolve back to the same IP. Passing it proves that the IP block owner and the domain owner both consented to the setup, which is a meaningful signal that an attacker on borrowed infrastructure cannot easily fake.
The stricter test is forward-confirmed reverse DNS: the PTR must name a hostname, and that hostname must resolve back to the same IP. Passing it proves that the IP block owner and the domain owner both consented to the setup, which is a meaningful signal that an attacker on borrowed infrastructure cannot easily fake.
- Missing reverse DNS is a leading cause of rejected outbound mail
- Forward-confirmed reverse DNS is required by strict receivers
- Generic ISP-assigned names are themselves treated as a spam signal
- Security teams use reverse DNS to attribute traffic to an organisation
- Readable hostnames make incident investigation far faster
How This Reverse DNS Lookup Works
The tool builds the reverse DNS name for the address, queries it, then verifies the answer in the forward direction.
- Validates the IP address input against format and SSRF safety checks
- Converts the address into its in-addr.arpa or ip6.arpa reverse name
- Queries DNS for the PTR record at that name
- Resolves the returned hostname forward to an A or AAAA record
- Reports whether the forward result matches the original address
How to Use the Reverse DNS Lookup
- Enter an IPv4 or IPv6 address in the input field
- Run the lookup to perform a live reverse query
- Review the hostname returned for that address
- Check the forward-confirmation result shown alongside it
- For mail servers, confirm the name matches your HELO hostname
Understanding Your Reverse DNS Results
The lookup returns a hostname and a verification status. Here is how to read them:
| Field / Value | Meaning |
|---|---|
Hostname |
The name registered for this address. For a mail server it should be a hostname on a domain you control and should match your HELO announcement. |
Forward-confirmed |
Whether the hostname resolves back to the same IP. Passing this check is what strict mail receivers require. Failing it is treated much like having no reverse DNS at all. |
No PTR record |
The address has no reverse entry. Harmless for a web server, but it will cause widespread mail rejection for a sending server. |
Generic ISP name |
Names containing dynamic, pool, dsl, cable or the address digits are provider defaults. They mark the address as residential and attract aggressive filtering. |
Cloud provider name |
Defaults such as ec2-203-0-113-45.compute-1.amazonaws.com identify the host as generic cloud infrastructure. Replace them with your own hostname before sending mail. |
Common Problems & How to Fix Them
Best Practices
- Set reverse DNS for every IP address that sends email
- Ensure the hostname in the PTR resolves forward to the same address
- Match the reverse DNS name to the hostname used in SMTP HELO
- Use a hostname on a domain you control rather than a provider default
- Verify reverse DNS immediately after any IP change, before sending mail
- Keep one PTR record per address to avoid inconsistent validation results
- Check reverse DNS for newly allocated addresses as part of provisioning
Security Recommendations
- Never treat reverse DNS as proof of identity — the IP block owner can set any hostname they like
- Always verify forward-confirmed reverse DNS when using reverse lookups in security logic
- Avoid hostnames that leak internal roles, such as db-primary-internal.example.com
- Remove reverse entries for addresses you have released so the next tenant does not inherit your name
- Be aware that attackers use reverse DNS to map an organisation address space during reconnaissance
- Do not use reverse DNS alone for access control decisions