From 3206ce36cb1232e176715973c9bd443fd462b54b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 5 Mar 2023 13:15:33 +0100 Subject: vidhar: remove printing --- hosts/vidhar/dns/default.nix | 6 +----- hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa | 6 +----- .../dns/zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa | 4 +--- hosts/vidhar/dns/zones/yggdrasil.soa | 7 +------ 4 files changed, 4 insertions(+), 19 deletions(-) (limited to 'hosts/vidhar/dns') diff --git a/hosts/vidhar/dns/default.nix b/hosts/vidhar/dns/default.nix index f942b3f9..ade884e7 100644 --- a/hosts/vidhar/dns/default.nix +++ b/hosts/vidhar/dns/default.nix @@ -20,7 +20,7 @@ in { enableRootTrustAnchor = false; settings = { server = { - interface = ["lo" "lan" "ve-printing"]; + interface = ["lo" "lan"]; prefer-ip6 = true; access-control = ["0.0.0.0/0 allow" "::/0 allow"]; root-hints = "${pkgs.dns-root-data}/root.hints"; @@ -79,10 +79,6 @@ in { }; }; - systemd.services.unbound = { - after = [ "container@printinp.service" ]; - }; - systemd.services.knot = { unitConfig.RequiresMountsFor = [ "/var/lib/knot" ]; serviceConfig.LoadCredential = map ({name, ...}: "${name}.yaml:${config.sops.secrets.${name}.path}") knotKeys; diff --git a/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa b/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa index b23f6fd4..6074296e 100644 --- a/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa +++ b/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa @@ -1,7 +1,7 @@ $ORIGIN 141.10.in-addr.arpa. $TTL 300 @ IN SOA vidhar.lan.yggdrasil. hostmaster.yggdrasil.li ( - 2023030500 ; serial + 2023030501 ; serial 300 ; refresh 300 ; retry 300 ; expire @@ -15,7 +15,3 @@ $TTL 300 1.1 IN PTR vidhar.mgmt.yggdrasil. 2.1 IN PTR switch01.mgmt.yggdrasil. 4.1 IN PTR ap01.mgmt.yggdrasil. - -3.2 IN PTR printer.printer.yggdrasil. - -1.5 IN PTR printing.vidhar.lan.yggdrasil. diff --git a/hosts/vidhar/dns/zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa b/hosts/vidhar/dns/zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa index 39d59939..2d94b1e1 100644 --- a/hosts/vidhar/dns/zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa +++ b/hosts/vidhar/dns/zones/arpa.ip6.2.a.0.3.4.0.0.0.0.0.5.2.0.a.d.a.0.0.0.1.soa @@ -1,7 +1,7 @@ $ORIGIN 1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa. $TTL 300 @ IN SOA vidhar.lan.yggdrasil. hostmaster.yggdrasil.li ( - 2023030500 ; serial + 2023030501 ; serial 300 ; refresh 300 ; retry 300 ; expire @@ -13,5 +13,3 @@ $TTL 300 0.0.0.0.0.0.0.0.0.0.0.0 IN PTR surtr.yggdrasil. 0.0.0.0.0.0.0.0.0.0.0.1 IN PTR vidhar.yggdrasil. 0.0.0.0.0.0.0.0.0.0.0.2 IN PTR sif.yggdrasil. - -0.0.0.0.0.5.0.0.0.0.0.1 IN PTR printing.vidhar.yggdrasil. diff --git a/hosts/vidhar/dns/zones/yggdrasil.soa b/hosts/vidhar/dns/zones/yggdrasil.soa index e2b1a61b..f679b741 100644 --- a/hosts/vidhar/dns/zones/yggdrasil.soa +++ b/hosts/vidhar/dns/zones/yggdrasil.soa @@ -1,7 +1,7 @@ $ORIGIN yggdrasil. $TTL 300 @ IN SOA vidhar.yggdrasil. hostmaster.yggdrasil.li ( - 2023030500 ; serial + 2023030501 ; serial 300 ; refresh 300 ; retry 300 ; expire @@ -28,8 +28,3 @@ vidhar.mgmt IN A 10.141.1.1 switch01.mgmt IN A 10.141.1.2 dsl01.mgmt IN A 10.141.1.3 ap01.mgmt IN A 10.141.1.4 - -printer.printer IN A 10.141.3.2 - -printing.vidhar.lan IN A 10.141.5.1 -printing.vidhar IN AAAA 2a03:4000:52:ada:5::1 -- cgit v1.2.3