]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Clarification and Pointer to the Master/Slave setup 4665/head
authorWatnuss <watnuss@gmx.com>
Mon, 7 Nov 2016 15:34:06 +0000 (16:34 +0100)
committerGitHub <noreply@github.com>
Mon, 7 Nov 2016 15:34:06 +0000 (16:34 +0100)
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.

docs/markdown/authoritative/modes-of-operation.md

index 41e95f441f49407dd78598f6602a00233a3f3d74..f48e37afa92a1513a8a26b192a078f098196ec67 100644 (file)
@@ -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.