You set up a new mail server on a cloud machine, SPF and DKIM pass, and yet some recipients reject your messages with a line like "client host rejected: cannot find your hostname" or quietly file them as spam. The missing piece is often reverse DNS, a record that lives somewhere most domain owners never look: in the DNS of whoever owns the IP address.
This guide explains how reverse lookups work for IPv4 and IPv6, what "forward-confirmed" means, how to check an address, and how to get a PTR record changed when you do not control it yourself.
Forward and reverse DNS
Normal ("forward") DNS answers the question "what is the address of mail.example.com?" with an A or AAAA record. Reverse DNS answers the opposite question: "what name belongs to 203.0.113.25?" It uses a PTR record.
Because DNS is organised by names, not numbers, the IP address is turned into a special name under arpa:
- IPv4: reverse the four octets and add
in-addr.arpa.203.0.113.25becomes25.113.0.203.in-addr.arpa. - IPv6: write all 32 hex digits, reverse them one digit at a time, separate with dots and add
ip6.arpa. The result is long, which is why tools build it for you.
Those arpa zones are delegated along the lines of IP address allocation: from the regional internet registries to ISPs and hosting companies, and sometimes further to their customers. That is the key practical point: the PTR record for an IP address is controlled by whoever holds that IP block, not by the owner of the domain name the PTR points to.
Forward-confirmed reverse DNS
A PTR record on its own proves little, because the owner of an IP block can point it at any name, including mail.bank.example. Receiving mail servers therefore do a second step:
- Look up the PTR of the connecting IP:
203.0.113.25 → mail.example.com. - Look up the A record of that name:
mail.example.com → 203.0.113.25.
If the address comes back to the same IP, the pair is forward-confirmed (FCrDNS). This shows that the IP owner and the domain owner agree, which is a basic trust signal for a sending server.
Check an IP address with our tool
The Reverse DNS Lookup performs both steps.
- Open the Reverse DNS Lookup.
- Enter an IPv4 or IPv6 address in IP address (IPv4 or IPv6), for example
203.0.113.25. Brackets around IPv6 are accepted. - Choose the resolver if you like, then click Reverse lookup.
- The info grid shows the Query name (the generated
in-addr.arpaorip6.arpaname) and the Response code. - Read the findings: whether a PTR exists, whether it is forward-confirmed, whether there are several PTRs, and whether the hostname looks generic or dynamic.
- The table lists each Hostname (PTR), its TTL, the Forward A (or AAAA) addresses and Matches IP.
If you do not know your server's public address, find it first with What Is My IP; for details about who operates an address, the IP Address Lookup helps.
Command-line equivalents
dig -x 203.0.113.25 +short
nslookup 203.0.113.25
Resolve-DnsName 203.0.113.25
dig -x builds the in-addr.arpa name for you. To confirm the forward direction, run dig +short A on the returned hostname and compare.
How to fix reverse DNS problems
No PTR record
Contact whoever gave you the IP address. Cloud and VPS providers usually offer a "reverse DNS" or "PTR" field in the server's network settings. Many require the forward A record to exist first, so create mail.example.com → 203.0.113.25 in your own zone, then set the PTR to mail.example.com. On business internet connections, ask the ISP; home connections usually cannot get custom PTRs at all.
Not forward-confirmed
Either the PTR points at a name that does not resolve, or it resolves to a different address. Add or correct the A (or AAAA) record in your zone so the name points back to the exact IP.
Generic hostname
Names like 203-0-113-25.pool.isp.example or containing dsl, dynamic or cable signal a consumer connection. Many receivers distrust mail from such hosts. Set a specific name such as mail.example.com, or send through a mail provider or relay instead.
PTR name does not match the SMTP greeting
Some receivers compare the name your server announces in its HELO/EHLO greeting with the PTR. Configure the mail server to greet with the same hostname.
IPv6 sending
If your server has IPv6, it may send over IPv6 and need a PTR for that address too. Some large receivers apply stricter checks to IPv6 senders. Either set PTR and AAAA for the IPv6 address or disable IPv6 for outbound mail.
Where reverse DNS fits in email authentication
Reverse DNS is a hygiene check rather than a formal authentication standard. It works alongside SPF, which lists the IPs allowed to send for your domain; check that with the SPF Record Checker. If the sending server is behind a hosted provider, the provider manages PTR records for its own IPs and you only need SPF, DKIM and DMARC. For background on how IP blocks are split and delegated, see how to calculate subnets with CIDR notation or try the IP Subnet Calculator.
Frequently asked questions
Can I add a PTR record in my domain's DNS panel?
Usually not. PTR records live in the reverse zone of the IP block, which belongs to your hosting provider or ISP. You set them through the provider's panel or support.
What is forward-confirmed reverse DNS?
It means the IP's PTR name resolves back to the same IP through an A or AAAA record. Mail servers use it as a basic sign that the server is legitimately configured.
Does my web server need reverse DNS?
Not for serving websites. Browsers never check it. It matters mainly for servers that send email and for some logging and access-control setups.
Can one IP address have several PTR records?
It is allowed, but unusual and not recommended. Many programs only read the first answer, so keep one PTR per address.
How long does a PTR change take?
It depends on the TTL your provider sets on the reverse record. New lookups see the change quickly, while cached answers expire after that TTL.