ctucx.git: nixfiles

ctucx' nixfiles

commit 2869ecd7e05a0397dac728b79a1f27969c54f734
parent 4b957a417d0286e9d9e32af3fb1727ee3a68bea5
Author: Leah (ctucx) <git@ctu.cx>
Date: Sat, 12 Nov 2022 11:32:59 +0100

machines/lollo/router: use cname for aliases in dnsmasq
1 file changed, 10 insertions(+), 10 deletions(-)
M
machines/lollo/router/dnsmasq.nix
|
20
++++++++++----------
diff --git a/machines/lollo/router/dnsmasq.nix b/machines/lollo/router/dnsmasq.nix
@@ -45,15 +45,16 @@ in {
         auth-zone=home.ctu.cx,           10.0.0.1/24,   195.39.246.32/28,   2a0f:4ac0:acab::1/64
 
         host-record=home.ctu.cx,                        195.39.246.41,      2a0f:4ac0:acab::1
-        host-record=lollo.ctu.cx,                       195.39.246.41,      2a0f:4ac0:acab::1
-        host-record=lollo.home.ctu.cx,                  195.39.246.41,      2a0f:4ac0:acab::1
-        host-record=legacy.home.ctu.cx,                 195.39.246.41,      2a0f:4ac0:acab::1
-        host-record=dnsmasq.home.ctu.cx,                195.39.246.41,      2a0f:4ac0:acab::1
-        host-record=music.home.ctu.cx,                  195.39.246.41,      2a0f:4ac0:acab::1
-        host-record=storage.home.ctu.cx,                195.39.246.41,      2a0f:4ac0:acab::1
-        host-record=influx.home.ctu.cx,                 195.39.246.41,      2a0f:4ac0:acab::1
-        host-record=wiki.home.ctu.cx,                   195.39.246.41,      2a0f:4ac0:acab::1
-        host-record=fedi.home.ctu.cx,                   195.39.246.41,      2a0f:4ac0:acab::1
+        cname=lollo.home.ctu.cx,                        home.ctu.cx
+        cname=legacy.home.ctu.cx,                       home.ctu.cx
+        cname=dnsmasq.home.ctu.cx,                      home.ctu.cx
+        cname=music.home.ctu.cx,                        home.ctu.cx
+        cname=storage.home.ctu.cx,                      home.ctu.cx
+        cname=influx.home.ctu.cx,                       home.ctu.cx
+        cname=wiki.home.ctu.cx,                         home.ctu.cx
+        cname=fedi.home.ctu.cx,                         home.ctu.cx
+        cname=things.home.ctu.cx,                       home.ctu.cx
+		cname=things.stasicontainer.home.ctu.cx,        stasicontainer.home.ctu.cx
 
         address=/fritz.box/192.168.178.1
         address=/lollo/10.0.0.1

@@ -61,7 +62,6 @@ in {
         address=/scanner/10.0.0.10
         address=/sip-phone/10.0.0.20
 
-
         enable-ra
         quiet-ra