From 67f3da331a020261843ee268620e478ba3818358 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Mon, 7 Apr 2025 19:12:48 +0100 Subject: [PATCH] refactor(dns): drop adguard and dnscrypt-proxy in favor of nextdns --- hosts/architect/dns.nix | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/hosts/architect/dns.nix b/hosts/architect/dns.nix index 245213a..da08f5d 100644 --- a/hosts/architect/dns.nix +++ b/hosts/architect/dns.nix @@ -62,44 +62,9 @@ in . { cache - forward . 127.0.0.1:${toString config.services.adguardhome.settings.dns.port} + forward . 45.90.28.77 45.90.30.77 } ''; }; - - adguardhome = { - enable = true; - settings = { - port = 5354; - dns = { - port = 5300; - }; - upstream_dns = [ - "tls://architect.d65174.dns.nextdns.io" - "https://dns.nextdns.io/d65174/architect" - ]; - }; - }; - - dnscrypt-proxy2 = { - enable = true; - settings = { - listen_addresses = [ "127.0.0.1:5354" ]; - ipv4_servers = true; - ipv6_servers = false; - block_ipv6 = true; - dnscrypt_servers = true; - doh_servers = true; - require_nolog = true; - require_nofilter = true; - timeout = 350; - lb_strategy = "p4"; - lb_estimator = true; - ignore_system_dns = true; - fallback_resolvers = [ "1.1.1.1:53" "9.9.9.9:53" ]; - cache_min_ttl = 60; - cache_max_ttl = 360; - }; - }; }; }