From b59026cb13f8e2bc8a4e0601c49bf6be0b9611fd Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 14 Jan 2024 19:31:17 +0100 Subject: [PATCH] allow zone transfers for geokunis2.nl --- nixos/modules/networking/dmz/default.nix | 17 +++++++---------- .../networking/dmz/zones/geokunis2.nl.nix | 2 +- nixos/modules/networking/dmz/zones/kun.is.nix | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/nixos/modules/networking/dmz/default.nix b/nixos/modules/networking/dmz/default.nix index e36e80c..ac2784d 100644 --- a/nixos/modules/networking/dmz/default.nix +++ b/nixos/modules/networking/dmz/default.nix @@ -34,9 +34,10 @@ in forwarders = [ ]; extraOptions = '' - allow-transfer { none; }; + allow-transfer { none; }; allow-recursion { none; }; - version "No dice."; + version none; + notify no; ''; zones = { @@ -44,20 +45,16 @@ in master = true; file = kunisZoneFile; allowQuery = [ "any" ]; - extraConfig = '' - notify yes; - allow-update { none; }; - ''; }; "geokunis2.nl" = { master = true; file = geokunis2nlZoneFile; allowQuery = [ "any" ]; - extraConfig = '' - notify yes; - allow-update { none; }; - ''; + slaves = [ + "87.253.155.96/27" + "157.97.168.160/27" + ]; }; }; }; diff --git a/nixos/modules/networking/dmz/zones/geokunis2.nl.nix b/nixos/modules/networking/dmz/zones/geokunis2.nl.nix index b56974b..b215dbc 100644 --- a/nixos/modules/networking/dmz/zones/geokunis2.nl.nix +++ b/nixos/modules/networking/dmz/zones/geokunis2.nl.nix @@ -7,7 +7,7 @@ in SOA = { nameServer = "ns"; adminEmail = "hostmaster@geokunis2.nl"; - serial = 1704580936; + serial = 2024011400; }; NS = [ diff --git a/nixos/modules/networking/dmz/zones/kun.is.nix b/nixos/modules/networking/dmz/zones/kun.is.nix index 7a203cf..adb5503 100644 --- a/nixos/modules/networking/dmz/zones/kun.is.nix +++ b/nixos/modules/networking/dmz/zones/kun.is.nix @@ -9,7 +9,7 @@ in SOA = { nameServer = "ns1"; adminEmail = "webmaster@kun.is"; - serial = 1704580936; + serial = 2024011400; }; NS = [