From 11609eb96f6ad29f0286a0f52933fc65f78d578c Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 27 Feb 2024 15:57:04 +0100 Subject: [PATCH] authoritative-dns: Drop INWX secondaries --- modules/authoritative-dns.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/modules/authoritative-dns.nix b/modules/authoritative-dns.nix index fd3ec3a..ff756e3 100644 --- a/modules/authoritative-dns.nix +++ b/modules/authoritative-dns.nix @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2023 Simon Bruder +# SPDX-FileCopyrightText: 2024 Simon Bruder # # SPDX-License-Identifier: AGPL-3.0-or-later @@ -67,12 +67,7 @@ in id = host; address = hostAddresses; }) - addresses) ++ lib.optional isPrimaryHost { - id = "inwx"; - # INWX only allows the specification of one primary DNS, - # which limits the IP protocol usable for zone transfers to one. - address = lib.singleton "185.181.104.96"; - }; + addresses); } (lib.mkIf isPrimaryHost { policy = lib.singleton { @@ -90,7 +85,7 @@ in zonefile-load = "difference-no-serial"; journal-content = "all"; # secondary - notify = [ "inwx" ] ++ secondaryHosts; + notify = secondaryHosts; # dnssec dnssec-signing = true; dnssec-policy = "default";