Reverse DNS

Updated by James Stewart

Contribute on GitHub

View Project | View File | Edit File

Your desktop computer uses DNS to determine the IP address associated with a domain name. Reverse DNS lookup does the opposite by resolving an IP address to a designated domain name. You should always set the reverse DNS, even if your Linode hosts more than one domain name.

Before setting up the reverse DNS for your Linode, be sure to set up your domain zone and DNS records through Linode’s DNS Manager. You may also wish to view our guide on Common DNS Configurations.

Reverse DNS uses a PTR Record or pointer record to match up the IP address with the domain or subdomain. Because PTR records are generally set with your hosting provider, when hosting on a Linode you will always set the reverse DNS within the Linode Manager using the method detailed below.

For more information about PTR records and DNS in general please see our Introduction to DNS Records guide.

Setting Reverse DNS

  1. Select the Linode you wish to set up reverse DNS for from your Linodes tab.
  2. Click the Remote Access tab.
  3. Select the Reverse DNS link:

    The Reverse DNS link

  4. Enter your Linode’s fully qualified domain name in the Hostname field:

    Adding the domain name for reverse DNS

  5. Click Look up. A message appears indicating that a match has been found for both your IPv4 and IPv6 addresses:

    Reverse DNS Match found

  6. Click Yes beneath the desired address. Note that you can select only one address at a time. If you want to set up reverse DNS for both the IPv4 and IPv6 addresses, you can perform another lookup and select the other address.

Congratulations! You have set up reverse DNS for your domain name!

This guide is published under a CC BY-ND 4.0 license.