> For the complete documentation index, see [llms.txt](https://docs.emaildelivery.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emaildelivery.com/docs/what-you-need-to-know-before-you-install-velocity-mta/ptr-records-and-reverse-dns.md).

# PTR Records and Reverse DNS

Most marketers are familiar with DNS names that resolve to an IP address.

For instance:

extmta2-new\.americanexpress.com resolves to 148.173.96.85 as you can see here:

{% embed url="<https://www.whatsmydns.net/#A/extmta2-new.americanexpress.com>" %}

<figure><img src="/files/YFz8S8XxdxQeH4vVZZPZ" alt=""><figcaption></figcaption></figure>

This is known as a DNS A record, often the type of record you create in your DNS hosting provider when you want to add a domain to your website. In the email space, this is sometimes known as the "forward ".&#x20;

As the postmaster of an MTA,  there's another type of record you'll need to familiarize yourself with that's just as important as the A record in the email space; it's called the PTR, also known as "reverse" DNS.&#x20;

In our example above, we see that extmta2-new\.americanexpress.com has an A record that resolves to 148.173.96.85, but when you do a PTR lookup, you'll see 148.173.96.85 also has a DNS record, and that it resolves to extmta2-new\.americanexpress.com.&#x20;

{% embed url="<https://www.whatsmydns.net/#PTR/148.173.96.85>" %}

<figure><img src="/files/IKs3erADiVcyXUBUf34k" alt=""><figcaption></figcaption></figure>

The A record for extmta2-new\.americanexpress.com is 148.173.96.85 and the PTR record for 148.173.96.85 is extmta2-new\.americanexpress.com.

They match.&#x20;

{% hint style="info" %}
You'll occasionally see the acronym FCrDNS used to describe the necessity of the PTR  record matching the A record, which stands for "Forward-Confirmed Reverse DNS."
{% endhint %}

Here's why:

<figure><img src="/files/Xvbt7gSIT92Td4Z737dF" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you don't have a PTR record for your sending IP address, and your PTR and A record of your sending domain don't match, Gmail will reject your mail.&#x20;
{% endhint %}

<div align="left"><figure><img src="/files/Lee1DtIN1qrjdS7mK2DL" alt="" width="563"><figcaption></figcaption></figure></div>

It's important to create your DNS records before you install Velocity MTA, add your IP addresses, and send your first test message.&#x20;

When Gmail rejects your message for reasons such as bad or missing DNS records or authentication failures, if you're a first-time sender, this erroneous result may get cached, preventing you from successfully delivering a message for at least 24 hours after you've fixed the problem.&#x20;

Don't risk it.&#x20;

{% hint style="info" %}
The PTR record can only be set by the owner of the IP address, which will likely be your VPS provider.
{% endhint %}

You can't set the PTR record in Cloudflare, Namecheap, GoDaddy, or anywhere you normally configure your DNS A record.

Some hosting providers allow you to configure your PTR record right in the control panel, but it's not uncommon that it can only be done by opening a ticket. This is the case with Racknerd.

See the next section [Sending Domain and PTR must match](/docs/what-you-need-to-know-before-you-install-velocity-mta/sending-domain-and-ptr-must-match.md) for the recommended DNS configuration.&#x20;
