Reverse DNS and PTR — an IPv4 example

See how 203.0.113.7 becomes a reverse-DNS query name. Learn what a PTR hostname means and why a missing record is not a connection failure.

Reverse DNS asks for a hostname associated with an IP address. For IPv4, reverse the four address parts and add in-addr.arpa. The documentation address 203.0.113.7 therefore produces the query name shown below. This is a syntax example, not a claim that this address has a live PTR record.

Example input

203.0.113.7

Expected result

7.113.0.203.in-addr.arpa.

Try it step by step

  1. Read the IPv4 address from right to left: 7, 113, 0, 203.
  2. Join those parts with dots and append in-addr.arpa. to form the reverse query name.
  3. Open the connection checker to request reverse DNS for your actual connection. Read its status together with any returned hostname.

How to read the result

A PTR response is a hostname published by the administrator of the reverse DNS zone. A missing record, timeout or unavailable resolver can leave the hostname empty while the connection still works. IPv6 uses a different reverse form under ip6.arpa and is not represented by this IPv4 example.

Limits and important details

PTR does not reveal which DNS servers your device uses. A hostname is not proof of identity, reputation or location. The checker does not invent a hostname when reverse DNS returns no result.

RFC 1035 · RFC 5737

Open the tool

What do we check and what happens to your data?

The server reads the IP address of your connection, then asks its DNS resolver for that address’s PTR record. Your browser only connects to this website for this check.

The tool does not save a lookup history or IP addresses in application logs. It does not use analytics. The infrastructure provider may process connection data to operate the service. The result does not include your location or computer name. A hostname is not the address of the DNS server configured on your device.

Adsterra advertisements load automatically. The provider receives your IP address and browser data and may use cookies. Ads run in frames on a separate origin, without access to the page’s IP/DNS result.

Adsterra privacy policy