DNS setup with 1 master and 2 slaves

Discussion in 'General' started by raysv, Dec 30, 2011.

  1. raysv

    raysv New Member


    I've been setting up ispconfig to administer dns, the setup should have 1 master/primary and two secondary servers.

    I can see that ispconfig out of the box only supports 2 ns servers, and its not possible to add more than one slave zone pr domain.

    Anyone know what the best way is to get 2 slaves working?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. raysv

    raysv New Member

    Thanks for the reply.

    But one question, wouldn't that result in 3 primary zones and not 1 primary and 2 slaves? :)
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Zones can be either synced by bind, then you need slave zones as a slave zone instructs bind to make a copy of the zone data or by another technology like ispconfig is doing it by writing the zone data on all slaves directly. It makes no difference for the user who queries your dns servers.
  5. raysv

    raysv New Member

    And this works out much better i see, since its not needed to create the sec. zones by them self anymore.

    Thanks for the tips, much appriciated :)
  6. zbuzanic

    zbuzanic Member

    Hi, I have similar question as I have two servers, and I run ispconfig on both but I control them from master. I don't want to make a copy, I just want to sync DNS from master to slave. I've tried this:

    but it didn't copy, is there any tutorial or something where I should look at just to sync BIND9?
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Your server is already correctly configured if you followed the perfect setup guide. Please undo the steps from the tutorial you posted as they are incompatible with ispconfig 3 and using them will destroy the dns setup.

    Instead, just create a new master dns record and a slave dns record in the ispconfig interface and add the IP of the slave server in the field "Allow zone transfers to
    these IPs".
  8. zbuzanic

    zbuzanic Member

    Hm, ok :)
    I've reverted configuration, but can't figure out what do you mean to create new master dns record?

    I've got even manual in front of me and still clueless..
    I feel dumb sometimes :/
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig 3 manual:

    5.12 How Do I Create A DNS Zone
    5.13 How Do I Create A Secondary DNS Zone
  10. zbuzanic

    zbuzanic Member

    Ok, I've finally figured it out, no more errors :)


    It would be nice if we could add to templates slave dns configuration or something like that.

    Thank you alot!

Share This Page