From f0e1f07c3e822690c2d8766f65efeb2245886e34 Mon Sep 17 00:00:00 2001 From: kalipso Date: Fri, 30 Jan 2026 20:25:49 +0100 Subject: [PATCH] [zones] set ns1 A record --- machines/modules/malobeo/zones.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/machines/modules/malobeo/zones.nix b/machines/modules/malobeo/zones.nix index 1affbdc..218ae79 100644 --- a/machines/modules/malobeo/zones.nix +++ b/machines/modules/malobeo/zones.nix @@ -11,7 +11,7 @@ in SOA = { nameServer = "ns1"; adminEmail = "admin@malobeo.org"; - serial = 2019030800; + serial = 2019030801; }; useOrigin = false; @@ -19,11 +19,13 @@ in "ns1.malobeo.org." ]; - A = [ "23.23.23.23" ]; #TODO: update - AAAA = [ "4321:0:1:2:3:4:567:89ab" ]; #TODO: update - subdomains = { + ns1 = { + A = [ hosts.ns1.network.address ]; + }; + ${localNS} = { + A = [ hosts.fanny.network.address ]; subdomains = builtins.mapAttrs (name: value: if value.network.local == true then { A = [ value.network.address ]; } else {}) hosts;