Hosting » DigitalOcean » How do you create vanity or branded nameservers with DigitalOcean cloud servers?

How do you create vanity or branded nameservers with DigitalOcean cloud servers?

Last updated on September 25, 2022 @ 2:19 pm

Creating vanity or branded nameservers with DigitalOcean cloud servers is relatively easy. First, create a DigitalOcean account and then create a new Droplet. From the Droplet creation page, select the Server type option and select the Cloud option. In the Server details page, select the Name server option and enter the desired vanity or branded nameserver address (for example, my-named-server.

DigitalOcean.com). Click the Create button to create the Droplet.

Once the Droplet has been created, open the server’s console and enter the following command to enable DNS forwarding:

sudo dnsmasq –enable-dns-forwarding

Now, open the server’s DNS configuration file and add the following lines to enable forwarding for the my-named-server.DigitalOcean.

com domain.

sudo nano /etc/dnsmasq.conf

Add the following lines to the file, replacing my-named-server.

com with the vanity or branded nameserver address that you entered in the previous step.

PRO TIP: If you are not careful, it is possible to create vanity or branded nameservers with DigitalOcean cloud servers. This can be done by modifying the DNS records for your domain, and it can have unintended consequences. For example, if you accidentally delete the wrong DNS record, your website may become inaccessible.

server=my-named-server.com,8.8.

8.8,8.4.

Save the file and exit the editor.

Finally, restart the DNS server with the following command:

sudo service dnsmasq restart

Now, when you attempt to resolve domain names using your vanity or branded nameserver, the server will forward the query to the DigitalOcean cloud servers.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.