erigones / esdc-ce

Danube Cloud :: Community Edition
https://danubecloud.org
Apache License 2.0
127 stars 28 forks source link

Increment SOA serial when updating DNS records #118

Closed dn0 closed 7 years ago

dn0 commented 7 years ago
YanChii commented 7 years ago

For DNS replication to external servers to be fully functional, these conditions have to be met:

  1. IP address of the main DNS server(s) has to be visible from the slave
  2. The external DNS server has to be listed in NS record of the synchronized zone
  3. Config file pdns.conf in dns01 must have these lines altered: disable-axfr=no master=yes allow-axfr-ips=addr.of.the.extdns,addr.of.the.seconddns
  4. The zone has to be in state MASTER
  5. SOA serial has to be incremented to triger notify

The most problematic is the requirement 3. We need to find a way to automatize or workaround it. Maybe this can be the way (see 'AUTO-NS' settings).