aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2024-08-12 11:58:08 +0200
committerMax Audron <audron@cocaine.farm>2024-08-12 11:58:08 +0200
commit74b6dd0ccbb10a0e3e0747406e7f409f32fc9e12 (patch)
tree3756104c42235fdf371908e395a2d40cfa0ba20a
parentupdate garage config to 1.0 (diff)
update powerdns config
Diffstat (limited to '')
-rw-r--r--modules/powerdns/default.nix6
-rw-r--r--modules/powerdns/pdns-secondary.conf4
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 [::]