Bind server configurations

Hi,

Try to imagine the following scenario (it's similar to the setup at RetroWeb currently):

A hosting company runs DirectAdmin servers, meaning that each shared hosting server runs Bind. The customers' nameserver settings reflect this, so that all customers on the shared server called 'Herbie' (for example) would use:

herbiens1.hostingcompany.net
herbiens2.hostingcompany.net

I'd like to be able to use two dedicated DNS servers for all shared hosting servers that we will have in the future, e.g.:

ns1.retroweb.net
ns2.retroweb.net


Now, here's my idea:

Say I buy and colocate two new boxes, called ns1.retroweb.net and ns2.retroweb.net - both running Bind.

ns1.retroweb.net would have a zone setup in named.conf for every domain that RetroWeb hosts, and the zone would be configured to slave the DNS settings from the shared hosting server that that particular domain name is hosted on (e.g. 'Herbie'). So the zone would look roughly like this (please ignore the syntax, I'm doing this from memory):

zone something.com {
masters: <<insert Herbie IP address here>>
}

...so ns1.retroweb.net would in fact be a slave to Herbie's DNS server.

I'd then configure ns2.retroweb.net as a slave to ns1.retroweb.net, e.g:

zone something.com {
masters: <<insert ns1.retroweb.net IP address here>>
}

...so my customers would just have to use ns1.retroweb.net and ns2.retroweb.net as their nameservers.

Would that work? I'm presuming the DNS settings would be updated automatically by Bind's notify system, which is how slave Bind servers work normally.

Would it matter that the first DNS server (ns1.retroweb.net) listed as a nameserver in my customers' nameserver settings would actually just be a slave to other servers?

The downside of course is that the shared hosting servers would still run Bind. Obviously it'd be less overhead if they didn't have to run Bind at all, but the load wouldn't be heavy since they'd only have to issue updated to ns1.retroweb.net and ns2.retroweb.net.

Thanks for reading this long thread and I hope I was clear enough in my explanation Bind server configurations

Thanks!
Matt Bind server configurations

 

 

 

 

Top