Author Topic: DNS replication  (Read 4472 times)

ejortegau

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
DNS replication
« on: April 12, 2012, 06:58:03 am »
Hi:

I have a zentyal box as authoritative DNS server for my domain. I would like to have a second one, but I don't want to have to enter any DNS changes in the configuration on both boxes. Would it be possible to make the changes in just one of them and have them replicated in the other one? Sort of like LDAP's master-slave replication?

Thanks.

christian

  • Guest
Re: DNS replication
« Reply #1 on: April 12, 2012, 10:13:48 am »
I fully support your request and suggest you add it in the "feature request" section.
What you are asking for is already part of Bind (piece of software supporting DNS)   8)
From technical standpoint, this is not exactly "replication" but "zone transfer".

You can have a look here:
http://en.wikipedia.org/wiki/DNS_zone_transfer
http://tldp.org/HOWTO/DNS-HOWTO-5.html
http://www.zytrax.com/books/dns/ch7/xfer.html

Cool but... this is not (yet ?) available using Zentyal GUI.

Would you need it, you can still hack Zentyal and do it manually via hooks  8)

ejortegau

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: DNS replication
« Reply #2 on: June 28, 2012, 09:30:12 pm »
Hi:

Thanks for your reply, I modded the bind template files that zentyal uses and configured my slave dns to pull the zones. It was fairly easy after reading some of the links you provided :-)


holtandrei

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: DNS replication
« Reply #3 on: November 23, 2013, 06:58:14 pm »
Yes, I would defenetly appreciate this

desperados

  • Zen Monk
  • **
  • Posts: 64
  • Karma: +4/-0
    • View Profile
Re: DNS replication
« Reply #4 on: September 15, 2016, 10:13:23 am »
hi
sorry if I reply to a so old post, but it's exactly what I need
I have customized zentyal dns template file, and I've added some zones that are useful for me
I modify them in my main server and with rsync I syncronize them in backup / secondary server

but I don't understand how it works for the local domain, I've not added hosts in my backup server but it resolves them correctly, the file /var/lib/bind/db.10.168.192 is quite empty (it has only header informations, no hosts except itself and main server)
are they saved in some database? ldap?