Update rDNS and PTR records

How to Dynamically Update and Manage Reverse DNS/PTR Records for Your CloudSigma Infrastructure

It is now possible to dynamically manage your PTR records on CloudSigma’s DNS servers.

This new functionality provides greater flexibility in setting up your applications in our cloud. We now accept dynamic updates of PTR records within our zones. This means that our dynamic DNS servers (DDNS) will accept updates directly from individual IP addresses from the networks used within our clouds.

It is very important to note that this feature allows a server with a given IP address to update only it’s own PTR record and also that the updates must be sent over TCP.

Usually the update of PTR records is a manual process where the user of a given IP address must send a request to the organization that manages the IP network, to add/remove/modify the PTR record for a given address. What we outline in this post is how you can create and update PTR records for yourself, without having to revert to us.

So let’s see how can you update the PTR records of an IP address you’re using within CloudSigma’s clouds.

In order to update our DDNS servers you’ll need to use a program called nsupdate – available for Linux/*BSD/Windows.

If you have the program already installed skip to the example section below and execute the commands shown (don’t forget to change the domain name according to your needs). If you don’t have the software installed, you need to install it first.

OS Package Installation Requirements

  • Windows – BIND
  • Fedora/RHEL/CentOS – bind-utils
  • Debian/Ubuntu – dnsutils

Package installations instructions for each OS

  1. Download Bind9 for Windows
  2. Expand the archive and run BINDInstall.exe
  3. Verify and change the target directory according to your preference
  4. Check the box Tools Only and uncheck all the other boxes
  5. Click Install
  6. On successful completion, click OK. Then click Exit

Managing your PTR records

Once nsupdate is installed, you can move on to update the record.

Let’s say that you’re running a cloud server with an IP address of, which translates to domain name –

Here’s what you do to update its PTR record to somehost.somedomain.org :

These commands will effectively:

  • delete the old reverse record for
  • add a new reverse record for with a TTL of 86400
  • send the command batch to the master DNS

Using nsupdate -v ensures the updates are sent over TCP which we require. Please note that you must make each update from the IP whose record you wish to update.

It you are using multiple IP addresses on the same network interface you may find it is not possible to successfully update your PTR records using the method above. If this is your case, please contact support and we’ll add the record manually for you. For the vast majority of customers this method works reliably and can be incorporated easily into automated deployment workflows to ensure PTR records are in place across a dynamic environment.

Happy computing and good luck with your reversing!


About Alexander Ivanov

I'm a Network professional with more than 15 years of experience in various WAN/MAN and LAN networks. I'm also familiar with Linux and BSD.