DNS auto-create zones on all DNS servers

Discussion in 'Server Operation' started by assi, Mar 21, 2009.

  1. assi

    assi New Member

    Hi,

    I'm kinda new to Linux, so please excuse the "newbie" type question.

    We have a scenario where we need to set up two or more DNS servers that will synchronize DNS changes amongst themselves automatically.

    Specifically, we have a need to create new DNS zones (domains) on one of the DNS servers, and have the new zones automatically created on the other servers. Obviously, we will need the zones to keep in-sync through regular zone transfers.

    I've been able to achieve this in the past using cPanel's DNS Cluster functionality, but was wondering if there is a non-proprietary solution that does this (e.g. built into BIND).

    And again, just so I'm clear - one of the main requirements is that we can create new zones on the "master" / "primary" server, and these zones get automatically created on the "slave" / "secondary" server(s). Hope that makes sense.

    Thanks in advance,
    Assi.
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. assi

    assi New Member

    What about new domains?

    Falko,

    Thanks for that.

    However, I'm still uncertain about what happens with new domains. Specifically, our requirement is that we can create new domains on the "master" name server, and have these domains automatically created on all "secondary" domains.

    From what I've seen, the standard methods with BIND only deal with existing domains which you pre-configure on both the primary and the secondary name servers, then have zone transfers take care of ongoing synchronization.

    The reason we need this, is due to the fact that we create several new domain zones on daily basis, and we would like to keep the administration as simple as possible.

    Thanks again,
    Assi.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    In that case I suggest you use a MySQL-based DNS server (MyDNS or PowerDNS) and set up database replication from the master to the slave.
     
  5. assi

    assi New Member

    Thanks Falko. I'll give it a shot.
     
  6. SamTzu

    SamTzu Active Member

    I have been thinking about something similar.

    What do you think would be the best way to go about building a scenario where you have X Number of (MyDNS?) 'master' name servers that are automatically replicated with 'ns1.server.com' which in turn gets it's slave zones from Z Number of different ISPConfig3 servers that are 'mainly' operated by the ReSales people?

    This way the Clients on the ISPConfig3 server's could have total control of their zones while ns1 would be the primary node where all the rest of the name servers would get their data.

    Is this possible?
     
  7. falko

    falko Super Moderator Howtoforge Staff

    If I understand you right, this is possible. :)
     
  8. SamTzu

    SamTzu Active Member

    Life is beatifull. :)
    I'm going to build me a system like that this week.
     

Share This Page