# What is a PTR record? Reverse DNS and email deliverability

Learn what PTR records are, how reverse DNS lookup works, and why sender IP identity matters for SMTP deliverability and inbox placement.

PTR records, reverse DNS, and lookup are methods you can use to verify
that the sender and the IP address from which messages are being sent
match. A telephone directory for the Internet would be the DNS (Domain
Name System), which maintains a vast amount of data on millions of
registered domains.

A DNS lookup is necessary to access a specific domain's (virtual) pages.
You can only do this with browsers immediately following the entry of an
email address. By using a DNS lookup, they can quickly ascertain that an
address like `https://filezone.io` represents the IP address 130.79.5.168.
An "A Record" designates this outcome.

A server can obtain a domain or hostname from an IP address by running a
DNS lookup in reverse. Read on to learn how to configure PTR records in
DNS records.

## Quick answer: what is a PTR record?

A PTR record maps an IP address back to a hostname. For email, receiving systems use reverse DNS as one sender-identity signal. A missing, generic, or mismatched PTR record can make an otherwise valid SMTP setup look less trustworthy.

Run a [reverse DNS lookup](/tools/reverse-dns-lookup/) when you need to check the sending IP that actually appears in your SMTP path.

## How do I set up PTR records in DNS records?

When adding a PTR record, take your web hosting provider into account.
Additionally, a reverse DNS zone must be set up. A zone in DNS is a
unique area of a domain namespace.

If this is the situation, you can say that the DNS for your domain has
reached a forward-confirmed reverse DNS (FCrDNS).

## Are Multiple PTR Records Permissible?

Contrary to multiple PTR records for the same IP address, a PTR record
can only point to one hostname. If this IP address is not resolved for
each of these domains, you won't have a match for the PTR records.

## How can I Determine Whether my PTR Records are Set up Properly?

Either you manually check PTR records using online tools, or you use a
computer to query the domain name servers.

To manually verify PTR records, use the dig and nslookup commands on
Windows, Linux, or macOS. The following commands would sequentially
query DNS servers for the domain mentioned above.



### Find the name behind your sending IP

Enter your sending IP in MailSlurp's reverse DNS tool and see the hostname it returns. Use that result when checking your mail server's identity with your provider.

[Check reverse DNS](/tools/reverse-dns-lookup/)



## How to check PTR records with the dig command?

1. Enter the command `dig PTR <server-ip-address>.in-addr.arpa.` The PTR
   record should be shown.

## How to check PTR records with the nslookup command?

1. Enter the command `nslookup -debug <server-ip-address>`. Under the
   "ANSWERS" and "Non-authoritative answer" sections, it will be clear that
   the PTR record is present.

## How do I Test Email Deliverability After Configuring PTR Records?

Setting up PTR records doesn't guarantee that recipients will receive
your emails in their inboxes. Yes, it's a good "anti-spam" measure, but
it's not the only one. But you will need to test deliverability.

QAs used to create a lot of fictitious emails and send test messages to
see if emails would arrive in recipients' inboxes, but this method is
now obsolete.

Most developers and quality assurance professionals now rely on secure
testing tools like mailslurp Email Sandbox. It helps to examine spam
scores and blacklists using these test email-trapping features.

## Conclusion

As an alternative, you can use online resources like MxToolbox,
NsLookup, whatsmydns, and others to check PTR records. You only need to
enter your IP address or domain address to do this. You'll see the
results immediately.

To find information about PTR with MxTookbox, you must perform a reverse
lookup; in contrast, NsLookup has a PTR record search option. You can
select which DNS server you want to query with Whatsmydns, making it a
little more sophisticated.

For MailSlurp references, see [What is PTR?](/guides/what-is-ptr/), [DNS PTR record](/guides/dns-ptr-record/), and the [Reverse DNS lookup tool](/tools/reverse-dns-lookup/).

## PTR rollout checklist for sender reputation

After PTR changes are in place, run this operational sequence before broad sending.

- Test recipient and spam-path behavior in [Email Sandbox](/product/email-sandbox/).
- Validate end-to-end template and flow behavior in [Email Integration Testing](/product/email-integration-testing/).
- Stream bounce and delivery events via [Email Webhooks](/guides/email-webhooks/).
- Route failures and retries using [Email Automation Routing](/product/email-automation-routing/).
- Verify real inbox placement using [Email Deliverability Test](/testing/email-deliverability-test/).
