How do I set reverse DNS (rDNS / PTR) for my server? Print

  • 0

Reverse DNS maps your server's IP back to a hostname, which is important for sending email so messages aren't flagged as spam. Unlike normal DNS, only your provider can set the PTR record for your IP.

  1. First create a matching A record pointing your hostname (e.g. mail.yourdomain.com) to your VPS IP.
  2. Check your VPS control panel in your client area for an rDNS or PTR option and enter the hostname there.
  3. If you don't see that option, open a ticket with your IP and the desired hostname and Toshost will set it for you.

Confirm it later with dig -x your-server-ip or host your-server-ip. Changes can take a little time to propagate.


Was this answer helpful?

« Back