From 0efd5e0c76e00d7fe92e1ca48c86d1debc481fb2 Mon Sep 17 00:00:00 2001 From: Garionion Date: Sun, 17 Jul 2022 13:19:13 +0200 Subject: [PATCH] dns: add zonefiles to environment --- hosts/dns/dns.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/hosts/dns/dns.nix b/hosts/dns/dns.nix index 6477c66..f46f4cc 100644 --- a/hosts/dns/dns.nix +++ b/hosts/dns/dns.nix @@ -22,10 +22,18 @@ log prometheus 10.42.10.8:9353 file /etc/zones/db.bula22.de - #file /etc/zones/db.42.10.in-addr.arpa. - #file /etc/zones/db.2.4.0.0.0.1.0.0.0.0.d.f.ip6.arpa. - #file /etc/zones/db.1.2.2.8.c.0.c.1.8.f.4.0.1.0.a.2.ip6.arpa. + file /etc/zones/db.42.10.in-addr.arpa. + file /etc/zones/db.2.4.0.0.0.1.0.0.0.0.d.f.ip6.arpa. + file /etc/zones/db.1.2.2.8.c.0.c.1.8.f.4.0.1.0.a.2.ip6.arpa. } ''; }; + environment = { + etc = { + "zones/db.bula22.de".source = ./zones/db.bula22.de; + "zones/db.42.10.in-addr.arpa.".source = ./zones/db.42.10.in-addr.arpa.; + "zones/db.2.4.0.0.0.1.0.0.0.0.d.f.ip6.arpa.".source = ./zones/db.2.4.0.0.0.1.0.0.0.0.d.f.ip6.arpa.; + "zones/db.1.2.2.8.c.0.c.1.8.f.4.0.1.0.a.2.ip6.arpa.".source = ./zones/db.1.2.2.8.c.0.c.1.8.f.4.0.1.0.a.2.ip6.arpa.; + }; + }; } \ No newline at end of file