From c24b41bc34a41b29118fbfbe85d660d0ce76385b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 29 May 2021 17:00:22 +0200 Subject: knot@surtr: ... --- hosts/surtr/dns/default.nix | 46 ++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) (limited to 'hosts/surtr/dns') diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix index 52a498c5..1fbfc80f 100644 --- a/hosts/surtr/dns/default.nix +++ b/hosts/surtr/dns/default.nix @@ -26,8 +26,17 @@ listen: 202.61.241.61@53 listen: 2a03:4000:52:ada::@53 - template: - - id: default + remote: + - id: inwx + address: 185.181.104.96@53 + + acl: + - id: inwx_acl + address: 185.181.104.96 + action: transfer + + template: + - id: inwx_zone storage: /var/lib/knot zonefile-sync: -1 zonefile-load: difference-no-serial @@ -43,38 +52,37 @@ zsk-size: 2048 zsk-lifetime: 30d - remote: - - id: inwx - address: 185.181.104.96@53 - - acl: - - id: inwx_acl - address: 185.181.104.96 - action: transfer - zone: - - domain: yggdrasil.li + - template: inwx_zone + domain: yggdrasil.li file: ${./zones/li.yggdrasil.soa} zone: - - domain: nights.email + - template: inwx_zone + domain: nights.email file: ${./zones/email.nights.soa} zone: - - domain: 141.li + - template: inwx_zone + domain: 141.li file: ${./zones/li.141.soa} zone: - - domain: kleen.li + - template: inwx_zone + domain: kleen.li file: ${./zones/li.kleen.soa} zone: - - domain: xmpp.li + - template: inwx_zone + domain: xmpp.li file: ${./zones/li.xmpp.soa} zone: - - domain: dirty-haskell.org + - template: inwx_zone + domain: dirty-haskell.org file: ${./zones/org.dirty-haskell.soa} zone: - - domain: praseodym.org + - template: inwx_zone + domain: praseodym.org file: ${./zones/org.praseodym.soa} zone: - - domain: rheperire.org + - template: inwx_zone + domain: rheperire.org file: ${./zones/org.rheperire.soa} ''; }; -- cgit v1.2.3