summaryrefslogtreecommitdiff
path: root/components/services/bind.nix
diff options
context:
space:
mode:
authorLeonardo <noreply@leoflo.me>2026-03-23 11:09:49 +0100
committerLeonardo <noreply@leoflo.me>2026-03-23 11:09:49 +0100
commit626351fa5a7a0cd366021edaa84e1cd794af1017 (patch)
tree83d0a4820499577d11dea58dcad5998f5ebbacb1 /components/services/bind.nix
parentd7c8821439836dfa8772eefb75ee7e8bd3a874e5 (diff)
downloadnixos-626351fa5a7a0cd366021edaa84e1cd794af1017.tar.gz
nixos-626351fa5a7a0cd366021edaa84e1cd794af1017.zip
zeus aggiunto alla vpn e nuovi domini interni
Diffstat (limited to 'components/services/bind.nix')
-rw-r--r--components/services/bind.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/services/bind.nix b/components/services/bind.nix
index 7d7cc81..5ff9be9 100644
--- a/components/services/bind.nix
+++ b/components/services/bind.nix
@@ -13,6 +13,7 @@
allowQuery = [ "127.0.0.0/24" "10.69.0.0/24" ];
file = pkgs.writeText "home.arpa" ''
$TTL 86400
+
@ IN SOA ns1.home.arpa. admin.home.arpa. (
2026031801 ; serial
3600 ; refresh
@@ -20,9 +21,16 @@
604800 ; expire
86400 ; minimum TTL
)
+
@ IN NS ns1.home.arpa.
ns1 IN A 10.69.0.1
@ IN A 10.69.0.1
+
+ music IN CNAME @
+ images IN CNAME @
+ papers IN CNAME @
+ cinema IN CNAME @
+ torrent IN CNAME @
'';
};
};