Using OnApp’s Anycast DNS feature

Tags: , , , ,

Today, let’s cover OnApp’s Anycast DNS. This little-known and often forgotten feature can be a great add-on service that benefits your customers.

Before you proceed; You’ll need to make sure CDN is enabled on your license. You can check this by going to Settings > License in your OnApp Control Panel. If ‘CDN Status’ isn’t enabled, please contact your OnApp Account Manager.

Let’s start by going to the Settings page of your OnApp Control Panel, and clicking on the DNS Setup icon:

OnApp cloud DNS settings

You’ll be asked for your DNS domain name. This would be the fully qualified domain name your customers will use for their nameservers, and it must be dedicated to this purpose (for example, it shouldn’t be your company’s primary domain name).

I’ll be referring to this as ‘’ throughout this tutorial – but please use one of your own domains!

Once you’ve added this domain name, you’ll need to create glue records with your domain name registrar. I have included the details you need to create these below.


Once you’ve created these glue records, you’ll need to change the nameservers on your domain name, so they match what you’ve just created (,,,

Some domain name registrars only allow 2 nameservers. If that’s the case, just use the ns1. and ns2. nameservers you created.

You should now see a new menu item called DNS under the Components category in the left hand menu of your control panel. On this page, you will be able to view your DNS zones and the DNS zones created by your customers.

Let’s create a new DNS zone

  • In the name field, enter the domain name that will be using the Anycast DNS service.
  • If you would like the domain names existing DNS records automatically populated, leave the ‘Auto populate’ box ticked.
  • Change the domain name’s nameservers to the ones listed in the dialog box towards the top of the page. In my example this would be,, and

Again, some domain name registrars only allow for 2 nameservers, if that’s the case, just enter the ns1 and ns2 name servers.

OnApp cloud add DNS zone

That’s it. You’ve created a DNS zone and can begin managing DNS records for this domain.

You can also give your customers access to the Anycast DNS service so they can create their own DNS zones. To do that, you just need to change some permissions. Follow the documentation here.

Tip: If you’re using your own portal, you can create and manage DNS zones programmatically using the OnApp API:

I hope that helps – thanks!