How do I setup my linode for Webmin/Virtualmin to manage my DNS?

Currently my DNS records are handled via the DNS manager in Linode. I am going through the process of setting up Webmin + Virtualmin, but am stuck on how to create a master / slave relationship with Virtualmin and Linode so that changes made are updated automatically in the Linode DNS manager.

I setup virtualmin using a stackscript. I am running Ubuntu 16.04.5 LTS.

2 Replies

To host your domain's DNS records with a different DNS manager, you'll want to log into the control panel provided by the registrar of your domain, then update the NS (nameserver) records so they are pointing to the appropriate nameservers.

To quickly determine your domain's registrar, run the command (case-sensitive):

whois $yourDomain | grep "Registrar"

For next steps, please refer to the Virtualmin DNS help guides:

After registering your nameservers at your domain name registrar you'll want to log into Virtualmin, select your "example.com" domain, click Server Configuration -> DNS Records, and create a new "A - IPv4 Address" record for ns1.example.com and ns2.example.com.

Think of nameservers as the place where you keep the settings for your domain. When you change your nameservers, your current DNS configuration settings will be lost. To avoid downtime, I'd recommend fully configuring your Virtualmin nameservers and corresponding DNS records before changing your NS records.

You can then create a slave relationship connecting Linode's DNS manager to your new nameservers using the Domains section of Linode Cloud Manager. To do so:

  1. Click Add a Domain, select Slave, then click Add IP (this allows you to enter multiple nameservers).

  2. Now, enter the IP addresses you previously created for the nameservers in Virtualmin, and click Create.

Your DNS slave will inherit all the properties of the master. Any changes made to the master will be synced to your slave.

Virtualmin, in combination with Webmin, can also be used to create this master/slave relationship. Please see their guide:

How do I setup nameservers for my server?
Troubleshooting DNS

these url's are not found..

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct