Site AI Auditвід Internet Solutions

Reverse DNS and PTR Records for Email: What You Need to Know

19 серпня 2026 р.Час читання: 8 хвДоставлюваність e-mail
Reverse DNS and PTR Records for Email: What You Need to Know

Short answer: A PTR record maps an IP address back to a host name, the reverse of a normal DNS lookup. Receiving mail servers check that the IP address sending to them has a PTR record, and that the host name it returns resolves back to the same IP (forward-confirmed reverse DNS). Mail from IPs without it is often rejected or filtered. PTR records are set by whoever controls the IP address, usually your hosting or cloud provider, not in your domain’s DNS panel.

What reverse DNS is

Normal DNS answers “what is the IP address of mail.yourdomain.com?” with an A or AAAA record. Reverse DNS answers the opposite question: “which host name belongs to IP address 203.0.113.25?”. The answer lives in a PTR record under a special zone, in-addr.arpa for IPv4 and ip6.arpa for IPv6, where the IP address is written backwards: 25.113.0.203.in-addr.arpa.

Because the reverse zone follows the IP address, not the domain name, it is controlled by whoever was allocated that address block. That is your hosting company, cloud provider or internet service provider, unless your organisation has its own address allocation. You cannot create a PTR record in the same DNS panel where you manage your domain’s A, MX and TXT records, which surprises many administrators the first time.

Reverse DNS is used for many purposes, from making logs readable to network diagnostics. For e-mail, it has become a basic trust signal for sending servers.

Why receiving servers care

Legitimate mail servers are usually run by organisations that take the trouble to configure them properly. Machines that send spam are often infected home computers or cheaply rented servers where nobody has set a meaningful PTR record. Checking reverse DNS is therefore a cheap way for receivers to separate likely legitimate servers from likely abusive ones.

Receivers apply this in different ways:

Who needs to worry about PTR records

If your business mail is hosted by Google Workspace, Microsoft 365 or another major mail provider, their outgoing servers already have correct reverse DNS, and you have nothing to do. The same is true for established newsletter and transactional mail services.

You need to act if:

How to check reverse DNS

  1. Find the sending IP. Look at the headers of a message the server sent. The Received header added by the receiving server shows the connecting IP.
  2. Look up the PTR record. Run dig -x 203.0.113.25 +short on macOS or Linux, or nslookup 203.0.113.25 on Windows. You should get a host name such as mail.yourdomain.com.
  3. Confirm the forward lookup. Run dig A mail.yourdomain.com +short and make sure it returns the same IP address. For IPv6, use dig AAAA.
  4. Compare with the server’s greeting name. The name the server announces in the SMTP HELO or EHLO command should be a valid host name, ideally the same as the PTR name.

Receiving servers also record their own view. In received headers, you often see text like from mail.yourdomain.com (mail.yourdomain.com [203.0.113.25]); a mismatch or “unknown” there is a clue.

How to set a PTR record

The exact steps depend on your provider:

Before setting the PTR, create the A (and AAAA) record for the chosen host name in your domain’s DNS, so the forward lookup succeeds as soon as the reverse record is in place. Many providers verify the forward record before they accept the change.

Choosing a good host name

PTR nameAssessment
mail.yourdomain.comGood: clear, belongs to your domain, resolves back
smtp1.yourdomain.comGood: clear role, easy to extend with smtp2
server123.hostingcompany.exampleAcceptable if it resolves back, but says nothing about you
203-0-113-25.dynamic.isp.examplePoor: looks like a home connection, often filtered
No PTR at allPoor: many receivers reject or heavily penalise it

One PTR per IP address is the rule. Multiple PTR records for the same IP confuse some checks and are best avoided. If a server sends mail for several domains, a single neutral host name on your main domain is fine; the PTR does not need to match the From domain of every message. Alignment for domains is the job of SPF, DKIM and DMARC.

Reverse DNS for IPv6

Servers that have IPv6 connectivity may send mail over IPv6 to receivers that support it. Several large providers are stricter with IPv6 mail and expect both a PTR record and full authentication. A frequent problem: the IPv4 address was configured years ago, then IPv6 was enabled on the server, and mail suddenly starts failing at some receivers because the IPv6 address has no reverse DNS. Either configure PTR and SPF for the IPv6 address, or make the mail server send over IPv4 only.

Common reverse DNS mistakes

Each of these is quick to fix once found, which is why a short check after every server change is worth the minute it takes.

Where reverse DNS fits in the bigger picture

Correct reverse DNS is a hygiene factor. It removes a reason for rejection, but it does not make mail trusted on its own. The domain still needs SPF, DKIM and DMARC, and the server needs a good sending history. Think of PTR as the server’s identity card, and domain authentication as the signature on each letter.

Site AI Audit’s e-mail checks look at your domain’s published records, SPF with its lookup limit, DKIM, DMARC and MX, alongside the website’s SSL, security headers, speed and SEO. That covers the domain side; for a self-hosted mail server, add the PTR lookups above to your routine. A free check shows the domain’s state in a couple of minutes.

Related reading

The bottom line

Every IP address that sends mail should have a PTR record with a sensible host name, and that name should resolve back to the same IP. The record is set by the IP owner, not in your domain’s DNS. With hosted mail you are already covered; with your own server or direct sending from a web server, check IPv4 and IPv6 and fix gaps before they cost you deliveries.

FAQ

What is a PTR record?

A PTR record is a reverse DNS entry that maps an IP address to a host name. Mail servers use it to check that a sending IP belongs to a properly configured server.

Why can’t I add a PTR record in my domain’s DNS panel?

Reverse DNS belongs to the owner of the IP address block, not the domain. Your hosting, cloud or internet provider controls it, usually through their panel or support.

Does the PTR name have to match my From domain?

No. The PTR name should be a valid host name that resolves back to the same IP. Domain matching for messages is handled by SPF, DKIM and DMARC alignment.

Do I need a PTR record if I use Google Workspace or Microsoft 365?

No. Their sending servers already have correct reverse DNS. You only need to act for servers you run yourself or IPs you send from directly.

What is forward-confirmed reverse DNS?

It means the PTR record of an IP returns a host name, and that host name’s A or AAAA record returns the same IP. Many receivers check both directions.

Can missing IPv6 reverse DNS break e-mail?

Yes. If a server sends over IPv6 without a PTR record for its IPv6 address, some large providers reject or filter the mail. Configure IPv6 reverse DNS or send over IPv4 only.

#DNS#Email Deliverability#Sender Reputation#Troubleshooting
Перевірте свій сайт — безкоштовно.Що виправити на вашому сайті — і з чого почати.
Почати безкоштовно

Ще з блогу

Усі статті →
Internet Solutions

Інші продукти нашої команди

Створено Internet Solutions. Спробуйте й інші наші продукти — кожен заощаджує час по-своєму.

internet-solutions.net ↗
01Автопостинг у соцмережі
PostRSS

Нові записи з вашого RSS-фіду автоматично публікуються у Facebook, X, LinkedIn, Telegram та ще 60+ мережах.

Безкоштовний тариф · з 2014Перейти →
02AI-чат для сайтів
Talkmio

Ваш сайт відповідає відвідувачам 24/7 на основі вашого контенту та їхньою мовою.

Безкоштовний тариф · без карткиПерейти →
03AI-асистент
Ask Mio

Чат, код, дизайн, тексти та дослідження. Mio добирає найкращу модель для кожного завдання.

Безкоштовний тарифПерейти →
04AI-автопілот для блогу й соцмереж
AI Blog Autopilot

AI пише SEO-статті на 2000–3000 слів і публікує кожну в 58+ соцмережах.

Перші 3 статті безкоштовноПерейти →
05Глибокий SEO-аудит
Site SEO AI Audit

Повне SEO-сканування за 7 напрямами, зокрема видимість в AI-пошуку, з виправленнями за силою впливу.

Перший аудит безкоштовноПерейти →
06RSS і товарні фіди
RSS Feed Creator

Створюйте RSS з будь-якої вебсторінки, а також товарні фіди для Google і Meta, що оновлюються самі.

Безкоштовний тарифПерейти →
07Розробка сайтів і SEO
Internet Solutions

Сайти, інтернет-магазини та індивідуальні системи — проєктує, створює й супроводжує наша команда.

З 2011Перейти →
Site AI Audit
Огляд конфіденційності

Цей сайт використовує cookie, щоб ми могли забезпечити вам найкращий користувацький досвід. Інформація cookie зберігається у вашому браузері й виконує такі функції, як розпізнавання вас під час повернення на сайт, а також допомагає нашій команді зрозуміти, які розділи сайту вам найцікавіші та найкорисніші.