CM Services and multiple DNS servers

I have 4 name servers (1 master and 3 slaves) set up for example.com. When I use CM Services for BIND, how does the whole system know what name servers to use for other domains?

I have only the master enabled through CM Services and then it pushes out to the slaves. On one VM I enabled it for DNS only and it only set up the domain on ns1,2,3 but not 4.

Is that something I have to specify somewhere in the whole configuration?

I couldn't find anything about this in the docs.

Status: 
Closed (fixed)

Comments

What should happen is that the slave servers setup in Cloudmin Services get the slave domain. This is different to how they are normally selected, which is in the BIND module on the Virtualmin system.

Steffan's picture
Submitted by Steffan on Wed, 11/02/2016 - 23:13 Pro Licensee

Right but that doesn't answer why it ignores ns4. I did figure it out. Don't recall seeing it in the docs.

  1. Virtualmin Settings > Cloudmin Services
  2. In the right click on the DNS Master Server you have already configured (or if new do this)
  3. Change the number of slaves in the "Maximum slave DNS servers per zone" field to the number of actual slaves you have, in my case 3 for ns2, ns3 and ns4.
  4. Save
  5. Now it will create the slave zone on all of the slaves, not just the first 2 (the default option)
Steffan's picture
Submitted by Steffan on Thu, 11/03/2016 - 23:42 Pro Licensee

Status: Active ยป Closed (fixed)