Kyrnet opens soon. Get notified of the launch on our Discord.

Join our Discord →
KyrnetKyrnet
Network

Configuring reverse DNS (PTR) for your IP address

What reverse DNS is for, why it's essential for sending email, and how to set it up and check it.

1 min read · Updated on

Reverse DNS (a PTR record) maps your IP address to a domain name. It's the reverse of a regular DNS record.

Why it matters

  • Email: most providers reject messages, or mark them as spam, when they're sent from an IP without a matching reverse DNS.
  • Troubleshooting: your traceroutes and logs show a readable name instead of an address.

Step 1: create the forward record

At your domain registrar, create an A record that points to the server's IP, for example:

mail.mydomain.ca.   A   198.51.100.10

Step 2: set the reverse DNS

In your client area, go to My services > your server > Network, enter mail.mydomain.ca in the address's reverse DNS field, then save.

Step 3: check it

dig -x 198.51.100.10 +short

The command should return mail.mydomain.ca.. Propagation usually takes a few minutes.

For a mail server, also set up your domain's SPF, DKIM and DMARC records: reverse DNS alone isn't enough.

Further reading