Setting up a DNS server to slave from ISPConfig

Discussion in 'Installation/Configuration' started by jerutley, Aug 14, 2006.

  1. jerutley

    jerutley New Member

    Hey all!

    Almost 100% complete in my quest to convert from my old self-maintained hosting setup to using ISPConfig to drive it all. The only thing I have left is to make it so I can have my slave DNS server taking updates from ISPConfig.

    The way I have things right now in my self-maintained setup is all my zone directives for bind are in a separate file included from named.conf. I also have a perl script which parses this file, switching those zones from a master config to a slave config, then copying the resulting file over to the slave DNS server via a key-based SCP command. A reload is then triggered on the slave so it pulls the new zone over from the master.

    Has anyone ever set up something similar with the ISPConfig DNS structure? Maybe even so far as to tie it into the domain creation routines so it's done automatically? I haven't put ISPConfig into control over my DNS yet because of this issue, and it's the last thing I have to figure out :)


  2. falko

    falko Super Moderator ISPConfig Developer

    Do you use BIND on your second server? Then yu simply have to add something like

    zone "" {
            type slave;
            file "";
            masters {; };
    to your named.conf and restart BIND. Replace with the real domain name and with the IP address if your ISPConfig server. The BIND on the ISPConfig server will then do a zone transfer to your secondary DNS.
  3. VMartins

    VMartins New Member


    The can be the same file of

    I wrote this in other thread (

    I have one IP. I use a service like No-IP to make my Secondary DNS Server. But now I have a friend with one IP too, and the same solution (No-IP).

    I have to only put the allow-tranfer {ip} and nothing more? And the zones in the named.conf? And files?

    Thanks all,

  4. falko

    falko Super Moderator ISPConfig Developer

    The file will be created automatically, you don't have to do it. :)
  5. VMartins

    VMartins New Member

    I made my setup in this weekend... Is so simple... :rolleyes:

    Thanks again. Always you have a good answer... I read with attention the Tradiocional DNS How-To, I learn a lot of things... I should read this text before. :p


Share This Page