From: Watnuss Date: Mon, 7 Nov 2016 15:34:06 +0000 (+0100) Subject: Clarification and Pointer to the Master/Slave setup X-Git-Tag: dnsdist-1.1.0-beta2~47^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4665%2Fhead;p=thirdparty%2Fpdns.git Clarification and Pointer to the Master/Slave setup Head some troubles getting all the pointers in the documentation for a working master/slave setup. I think there should be a place where all requirements are at least listed. Maybe another location or form of presentation is better, but this page and presentation is something that would have helped me. --- diff --git a/docs/markdown/authoritative/modes-of-operation.md b/docs/markdown/authoritative/modes-of-operation.md index 41e95f441f..f48e37afa9 100644 --- a/docs/markdown/authoritative/modes-of-operation.md +++ b/docs/markdown/authoritative/modes-of-operation.md @@ -91,6 +91,12 @@ you can use options **allow-unsigned-notify** to permit unsigned notifications. For 4.0.0 this is turned on by default, but it might be turned off permanently in future releases. +# Master/Slave Setup Requirements +Generally to enable a Master/Slave setup you have to take care of following properties. +* The [master](settings.md#master)/[slave](settings.md#slave) state has to be enabled in the respective `/etc/powerdns/pdns.conf` config files. +* The nameservers have to be set up correctly as NS domain records i.e. defining a NS and A record for each slave. +* Master/Slave state has to be configured on a per domain basis in the `<+pdns_database_name+>.domains` table. Namely the `type` column has to be either `MASTER` or `SLAVE` respectively and the slave needs a comma seperated list of master node IP addresses in the `master` column in the `pdns_db.domains` table. [more to this topic](backend-generic-sql) + ## IXFR: incremental zone transfers If the 'IXFR' zone metadata item is set to 1 for a zone, PowerDNS will attempt to retrieve zone updates via IXFR.