Article overview

Help article

Setting reverse DNS for your VPS

What is reverse DNS

By using reverse DNS (also known as rDNS or PTR record) you link an IP address to a domain name (usually a subdomain). This is the opposite of regular (forward) DNS where you connect a domain to an IP.

For example, imagine that you use mail.example.com as reverse DNS and that it is linked to IP 123.123.123.123: 

  • If you request the IP address of mail.example.com (with a DIG command) you will receive 123.123.123.123.
  • If you do a reverse DNS lookup of 123.123.123.123 you will receive mail.example.com in this case. 

Reverse DNS is used, among other things, to find out where an email message is sent from. This adds an extra layer of security to email. Many email servers are configured to reject email or mark it as spam more quickly, if no valid reverse DNS is set for it. 


Setting up reverse DNS 

Setting up a PTR record for a VPS is done as follows:

 

Step 1

In the control panel go to BladeVPS and click the name of your VPS.


 

Step 2

Click 'Manage' > 'Network information'.

vps manage network information


 

Step 3

Click on the IP address for which you want to set the 'Reverse DNS'.

vps network information


 

Step 4 

Enter the desired reverse DNS name and then click on ‘Modify Reverse DNS’ to save it. When entering the reverse DNS we recommend choosing the hostname of your VPS or the domain from which you send mail: so for example server.yourdomainname.com or mail.yourdomainname.com.

vps modify reverse dns


 

Step 5

Next set up DNS records for your chosen reverse DNS in your DNS settings. For example, in the screenshot above there are 4 IP addresses for which you would create the following records in your DNS settings.

domain reverse dns - dns example

If you also use the IPs for which you set up reverse DNS for the root (@) of your domain, you can use CNAME records as shown below.

reverse dns cname record


Your PTR record will be recorded by our name servers within a few minutes. For more information, see the article: 'Why am I not seeing my DNS change yet?'.

Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘Contact Us’ button at the bottom of this page.

If you want to discuss this article with other users, please leave a message under 'Comments'.

 

Has this article been helpful?

Create an account or log in to leave a rating.

Comments

Create an account or log in to be able to leave a comment.