From e040a5b0c566db44a7eae12a6beeb9063e693217 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 14 May 2024 23:20:19 +0000 Subject: [PATCH] servo: trust-dns: remove hn-resolver my hosts run their own recursive DNS resolvers now, so there's no need for the wireguard VPN to provide them with that --- hosts/by-name/servo/services/trust-dns.nix | 74 +++++++++++----------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/hosts/by-name/servo/services/trust-dns.nix b/hosts/by-name/servo/services/trust-dns.nix index cab6dcff..c92b6e43 100644 --- a/hosts/by-name/servo/services/trust-dns.nix +++ b/hosts/by-name/servo/services/trust-dns.nix @@ -111,43 +111,43 @@ in listenAddrs = [ nativeAddrs."servo.hn" ]; port = 1053; }; - hn-resolver = { - # don't need %AWAN% here because we forward to the hn instance. - listenAddrs = [ nativeAddrs."servo.hn" ]; - extraConfig = { - zones = [ - { - zone = "uninsane.org"; - zone_type = "Forward"; - stores = { - type = "forward"; - name_servers = [ - { - socket_addr = "${nativeAddrs."servo.hn"}:1053"; - protocol = "udp"; - trust_nx_responses = true; - } - ]; - }; - } - { - # forward the root zone to the local DNS resolver - zone = "."; - zone_type = "Forward"; - stores = { - type = "forward"; - name_servers = [ - { - socket_addr = "127.0.0.53:53"; - protocol = "udp"; - trust_nx_responses = true; - } - ]; - }; - } - ]; - }; - }; + # hn-resolver = { + # # don't need %AWAN% here because we forward to the hn instance. + # listenAddrs = [ nativeAddrs."servo.hn" ]; + # extraConfig = { + # zones = [ + # { + # zone = "uninsane.org"; + # zone_type = "Forward"; + # stores = { + # type = "forward"; + # name_servers = [ + # { + # socket_addr = "${nativeAddrs."servo.hn"}:1053"; + # protocol = "udp"; + # trust_nx_responses = true; + # } + # ]; + # }; + # } + # { + # # forward the root zone to the local DNS resolver + # zone = "."; + # zone_type = "Forward"; + # stores = { + # type = "forward"; + # name_servers = [ + # { + # socket_addr = "127.0.0.53:53"; + # protocol = "udp"; + # trust_nx_responses = true; + # } + # ]; + # }; + # } + # ]; + # }; + # }; }; sane.services.dyn-dns.restartOnChange = [