DNS records and worldwide DNS propagation checker

Reverse IP Lookup

Reverse IP Lookup tools resolve a given IP to the Host. When you enter an IP address, the tool attempts to locate a DNS PTR record for that IP address.

Use any IP or Your Own IP

Reverse DNS Lookup Tool

The Reverse DNS Check tool queries the given IP to resolve to a hostname. The hostname is anything like a normal domain or sub-domain, i.e., google-public-DNS-a.google.com. This hostname is Google's hostname against IP 8.8.8.8, which is Google's public DNS IP. If you enter your IP, it might point to the hostname of your ISP, or if you query your server's IP, it might show you your domain name on which it resolves.

What is DNS PTR (Pointer) Record?

A PTR record, known as a pointer record or reverse DNS record, is the type of Domain Name System (DNS) record used to store the domain or hostname for an IP address. It maps an IP address to a hostname.

PTR records, referred to as "reverse DNS" records, are used in IP reverse lookup. You can get the associated domain name or hostname using the IP address.

PTR record lookups are the opposite of an A record lookup for an IPv4 address and an AAAA record lookup for an IPv6 address.

Typically, a user wishes to establish a connection to a server with an already-known domain name, but the user does not have the correct IP address. When a user enters a domain name in the browser, the DNS lookup process occurs, matching the domain name to an IP address.

A reverse DNS lookup or reverse IP address lookup is an opposite process that starts with an IP address and ends with the associated domain name or hostname's lookup. Here the user already knows the IP address and wishes to find the domain or hostname associated with that IP.

How are DNS PTR records stored?

The PTR record's structure is the same as other DNS record types. The different pieces of information are arranged in the record in their relevant fields.

<name> <ttl> <class> <type> <rdata>

Here

  • <name>: It is filled with the IP address.
  • <ttl>: It is Time to Live. It is the time in seconds for which the entry is valid. On its expiry, it needs to be activated again.
  • <class>: It contains the abbreviation of the DNS record class being used.
  • <type>: It has the record type. i.e., PTR.
  • <rdata>: It contains the resource data, the domain, or the hostname.

The syntax is similar to A record, but the field content differs. Here, one thing is essential to remember that is reverse mapping. Therefore the IP address is specified in reverse sequence.

In IPv4

An, A record must exist for every PTR record. A PTR record stored as the IP address is broken into segments and then reversed, followed by .in-addr.arpa. (it is the namespace within .arpa for reverse DNS lookups in IPv4).

For example, the PTR record of IPv4 address 8.8.4.4 for domain dns.google will be stored under 4.4.8.8.in-addr.arpa.

Name TTL Class Type rdata
4.4.8.8.in-addr.arpa. 3600 IN PTR dns.google

In the above example

  • 4.8.8.in-addr.arpa. represents the identifier of the record. This is the PTR record for A record 8.8.4.4
  • PTR is the type of DNS record.
  • google is the value of the record. It is the domain or hostname associated with the IP address.
  • 3600 is the TTL (Time to Live).

In IPv6

IPv6 addresses are composed differently than IPv4 addresses, and IPv6 PTR records exist in their distinct namespace within .arpa. PTR records for IPv6 are stored under the IPv6 address, reversed, and converted into four-bit sections (as opposed to 8-bit sections, as in IPv4), plus .ip6.arpa.

For example, the PTR record of IPv6 address 2001:4860:4860::8844 for domain dns.google will be stored under 4.4.8.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.8.4.0.6.8.4.1.0.0.2.ip6.arpa.

Name TTL Class Type rdata
4.4.8.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.8.4.0.6.8.4.1.0.0.2.ip6.arpa. 3600 IN PTR dns.google

In the above example

  • 4.8.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.8.4.0.6.8.4.1.0.0.2.ip6.arpa. represents the identifier of the record. This is the PTR record for A record 2001:4860:4860::8844
  • PTR is the type of DNS record.
  • google is the value of the record. It is the domain or hostname associated with the IP address.
  • 3600 is the TTL (Time to Live).

How to check the PTR record or perform a reverse IP lookup?

1.    In Windows, Linux, or macOS

If you are using Windows, run nslookup IP_address in your command prompt.
If you are using Linux or MAC OS, run dig -x IP_address on Linux's console terminal or MacOs's terminal.

Note: Replace the IP_address with your domain's IP address.

2.    Using IP Reverse Lookup Tool

Just enter the IP address and click on the "Submit" button. The IP address reverse lookup will perform the reverse IP search and provides you with the result.

Also, check PTR records through multiple DNS servers worldwide with the WhatsMyDNS tool.

What are the primary uses for PTR records?

PTR records are used in reverse IP address lookups. These records are a must for outgoing mail servers.

Some email servers like Gmail and Yahoo mail use anti-spam filters to check whether the IP address of a server trying to deliver mail has matching forward and reverse DNS records. It helps to check the domain or hostname(s) of an email address(es) and see if the associated IP address(es) is likely to be used by the legitimate email server.

As anti-spam filters perform these checks, email delivery problems can occur from a misconfigured or missing PTR record. To send mail PTR record is mandatory. Email services may block or reject all emails from that domain if a domain does not have a PTR record or the PTR record contains the wrong domain or hostname. The mail servers use them to ensure that emails come from the location they claim to come from.

FAQs

Do I need PTR records?

The simple answer is yes. Email is integral to the business, and PTR records usage is in Google's best practices.

You never want your email to bounce back or be a part of a spam folder. It harms your trustworthiness and credibility and makes your customers wonder why your email is not reaching their inboxes.

Can I have multiple PTR records?

Typically, a PTR record can point to only one hostname through the IP reverse lookup process. But what if you need multiple PTR records for a single IP to point to various hostnames? That will work when you have several domains registered; all have the same IP address as the DNS A record.

The Domain Name System does not restrict your number of entries, but having multiple PTR records is not recommended at all. Because the software running the mail servers often expects only one entry for each IP address, "One IP - One PTR."

A server may randomly pick one during a reverse lookup IP if various PTR records are defined for a single IP address.

No feature is available to prioritize PTR records, like the MX records.

Moreover, adding several PTR records for a single IP address does not improve trustworthiness. And it may even result in a failed verification of A/PTR records and reducing email delivery ratio.

How long does it take for a PTR record to propagate?

It typically depends on how frequently the hosting company updates the zone files. Even if you update the PTR records from the hosting panel's dashboard, the hosting company immediately updates their zone files after those updates. Still, it takes time because of DNS TTL. Usually, it takes 24 to 48 hours for the DNS records to propagate globally. You can use my DNS checker to check whether or not your PTR records are propagated on all DNS servers globally.

Looking for more DNS tools on DNS Checker? Why do not you try our CNAME Checker, Nameserver Checker, and MX Record Checker? All the DNS tools are top-notch and free!