Skip to content

Reverse DNS lookup

Find the hostname an IP address points to, and check that the hostname points back to the same address.

How reverse DNS works

Ordinary DNS turns a name into an address. Reverse DNS goes the other way: it looks up a special name built from the address, under in-addr.arpa for IPv4 or ip6.arpa for IPv6, and asks for its PTR record.

This tool sends that query from your browser through public DNS-over-HTTPS resolvers, then looks up each hostname it finds to see whether it points back to the same address. If no PTR record exists, it says so.

Why it matters

  • Mail servers often reject mail from addresses whose PTR name does not point back, because spam often comes from addresses with no matching name.
  • Network logs and traceroutes show PTR names, which makes routers and servers easier to recognise.
  • The owner of the address block controls the PTR record, which is usually the hosting or internet provider, not the website owner.
  • A generic PTR name with the address written into it is common on home and mobile connections, and tells you little beyond the provider.

Why does my address have no PTR record?

Many providers do not set one for home and mobile connections. It is normal unless you run a mail server.

Can I change the PTR name?

Ask whoever controls the address block. On a cloud server this is usually a setting in the provider's control panel.

Why can there be more than one hostname?

An address can have several PTR records, though most have one. Each is checked separately.

Does reverse DNS reveal which website runs on an address?

Not reliably. Shared hosting and content delivery networks serve many sites from one address, and the PTR name usually names the provider, not the site.

Does Pocket VPN see what I look up?

No. The queries go from your browser to public DNS-over-HTTPS resolvers run by Cloudflare and Google, not to Pocket VPN.

From the blog
See all posts
Bonus

These tests are useful.
Not needing them is better.

Connect Pocket VPN and websites see the VPN's IP address instead of yours.

See plans →