diff options
Diffstat (limited to 'modules/powerdns')
| -rw-r--r-- | modules/powerdns/default.nix | 6 | ||||
| -rw-r--r-- | modules/powerdns/pdns-secondary.conf | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/powerdns/default.nix b/modules/powerdns/default.nix index 4543940..1f411df 100644 --- a/modules/powerdns/default.nix +++ b/modules/powerdns/default.nix @@ -35,9 +35,9 @@ let secondary = '' autosecondary = yes bind-config = ${bind} - bind-supermaster-config = /var/lib/pdns/named-autosecondary.conf - bind-supermaster-destdir = /var/lib/pdns/zones - bind-supermasters = ${autoprimary} + bind-autoprimary-config = /var/lib/pdns/named-autosecondary.conf + bind-autoprimary-destdir = /var/lib/pdns/zones + bind-autoprimaries = ${autoprimary} guardian = yes launch = bind local-address = 0.0.0.0 [::] diff --git a/modules/powerdns/pdns-secondary.conf b/modules/powerdns/pdns-secondary.conf index 5c9c769..41a5c5d 100644 --- a/modules/powerdns/pdns-secondary.conf +++ b/modules/powerdns/pdns-secondary.conf @@ -1,6 +1,6 @@ autosecondary = yes -bind-supermaster-config = /var/lib/pdns/named-autosecondary.conf -bind-supermasters = /var/lib/pdns/autoprimary.conf +bind-autoprimary-config = /var/lib/pdns/named-autosecondary.conf +bind-autoprimarys = /var/lib/pdns/autoprimary.conf guardian = yes launch = bind local-address = 0.0.0.0 [::] |
