Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

Proper Reverse DNS format

What is the proper format for setting up a Reverse DNS record for PTR lookups. This will be used for sending email. Is it mandatory it match the SMTP banner?
1 Solution
The short answer is:
If you are in control of the authoritative nameserver, the first step is to create a reverse DNS zone. The hostname for the zone has to be in a very specific format. It starts with a portion of your IP address written backward followed by .in-addr.arpa.
If for example your IP address is, you start by dropping the final octet (last set of numbers) to give you 192.168.0
Next, you need to reverse that fragment of the IP address giving you: 0.168.192
Finally, append .in-addr.arpa. leaving you with the completed reverse zone domain of: 0.168.192.in-addr.arpa.

There is quite a nice write-up on it here:
Chances are, you won't be the one creating this record. Your ISP (not your domain registrar) is typically the one that has to do this, since they're usually the ones who ultimately control the public IP address that the mail server uses.

Mail servers typically use forward-confirmed reverse DNS. In order for this to work properly, the FQDN in your mail server's PTR record should match its public host (A) record.

Getting this record created is usually as easy as contacting your ISP and informing them that you need a reverse DNS record for your mail server. They'll need the mail server's FQDN and its public IP address, and that should be it.

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now