Webmin BIND failover configuration

Posted on 2012-09-11
Last Modified: 2013-01-21
I am just replacing our two aging BIND DNS servers used by our hosting department.  I am starting from scratch and installing the latest build of Centos, with Webmin and BIND installed.  I have configured two physically separate servers and configured one as a mast and one as a slave.  However, i cannot work out how to do a couple of things!

Firstly - you are still able to delete the slave zone, at which point i cannot force the slave to re-sync with the master, other than by re-creating a salve zone  and then it eventually talks.

Secondly - The previous systems experienced problems whereby if the mast server failed, after about an hour, the slave server would also stop resolving details and then required a reboot after the master was brought back online!  I cannot find any information on how to stop this behaviour, or indeed if it was just due to the state of the configuration on these servers!.  I have also tried testing the "convert to Slave/Master" options.  When i convert the Slave to a Master, i can edit the zone, but the Master still stays as a master, and does not update with the changes from the newly converted zone.  If i then convert back to a Slave zone, I get errors regarding not being a master - the only way i can fix this is to delete the zone completely and recreate a slave zone.  I have tried configuring them both to replicate each other, but that seems to just confuse them further!

Can anyone help?
Question by:Amaze_IT
    LVL 28

    Accepted Solution

    When using two DNS servers as you are, I would recommend a master/master configuration.

    Do all of your changes on one server and create a script/cron job to send the data to the other server every X (15?) minutes.

    With a script/cron job on the other [master] server, every X minutes (but not the same X minutes as the sending server), look for the completed tar transfer, extract the data into the production directory and do a server reload.

    Author Comment

    Thanks for the reply - but will the master/slave configuration we originally used be sufficient for this sort of failover?  or is BIND through webmin not capable of doing this?
    LVL 28

    Expert Comment

    by:Jan Springer
    If you have really short SOA data, when the master fails, the slave will expire any data it knows about if the master is down too long.

    I don't use webmin but I don't think that it can sync the data between the servers.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Most DNS problems are VERY easily troubleshot and identifiable if you can follow the steps a DNS query takes. I would like to share the step-by-step a DNS query takes from the origin to the destination. _____________________________________________…
    Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now