Skip to main content

Reverse DNS Lookup (PTR)

Find the hostname associated with any IP address

Need to know the domain name associated with an IP? Enter an IPv4 or IPv6 address and instantly get the corresponding PTR record.

IPv4 and IPv6

Works with both formats. Automatically queries in-addr.arpa or ip6.arpa based on the address.

Consistency check

Compare PTR with A/AAAA record to validate that forward and reverse match.

Email deliverability

A correct PTR improves your mail server reputation. Essential to avoid spam filters.

Network diagnostics

Quickly identify machines in your logs with readable names instead of number sequences.

100% free

No registration required. Perform as many reverse lookups as needed without limits.

What is Reverse DNS?

Reverse DNS allows you to find the hostname associated with an IP address. It's the inverse operation of standard DNS resolution.

Common use cases:

  • Email deliverability: Verify your mail server has a correct PTR
  • Network diagnostics: Identify machines in logs with readable names
  • Security: Verify the identity of incoming connections
  • Auditing: Validate consistency between forward and reverse zones

How does reverse DNS work?

For IPv4 (in-addr.arpa)

The address is reversed octet by octet, then .in-addr.arpa is added:

IP: 203.0.113.10
Query: 10.113.0.203.in-addr.arpa → PTR → mail.example.com

For IPv6 (ip6.arpa)

Each hexadecimal character is separated and reversed:

IP: 2001:db8::1
Query: 1.0.0.0...8.b.d.0.1.0.0.2.ip6.arpa → PTR → server.example.com

The importance of forward/reverse consistency

For credibility, DNS configuration must be consistent:

DirectionQueryResult
Forwardmail.example.com → A →203.0.113.10
Reverse203.0.113.10 → PTR →mail.example.com

If both match, consistency is validated. This is what mail servers and many security services verify.


Reverse DNS and email deliverability

Why it's essential

Mail servers perform several checks:

  1. PTR exists: The IP must have a PTR record
  2. PTR is consistent: The PTR name must resolve back to the original IP
  3. Professional name: Avoid generic names like "static-203-0-113-10.isp.net"

Example of correct configuration

Server IP: 203.0.113.25
PTR: 203.0.113.25 → smtp.yourdomain.com
A: smtp.yourdomain.com → 203.0.113.25

FAQ - Frequently asked questions

Q: What is a PTR record?

A: A PTR resolves an IP address to a hostname. It's the reverse of an A/AAAA record which resolves a name to an IP.


Q: Why is reverse DNS important for emails?

A: Mail servers verify that the sending IP has a valid PTR. Without a correct PTR, your emails may be marked as spam.


Q: How do I configure reverse DNS for my server?

A: Contact your hosting provider or IP provider. Only the IP block owner can configure PTR records.


Q: Why doesn't my IP have a PTR?

A: Residential IPs often don't have custom PTR records. Professional hosting providers typically allow you to configure one.


Complementary tools

ToolPurpose
Whois IPIdentify the owner of an IP
My IP AddressDisplay your public IP
Netmask CalculatorCalculate network ranges

Useful resources