about summary refs log tree commit diff
path: root/modules/unbound.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-10-22 01:50:45 +0300
committerazahi <azat@bahawi.net>2024-10-22 01:50:45 +0300
commit800b426b71e64556be79c1915540f24dab72209e (patch)
treedd91d07a0428238db47da6eb9799d8731c733200 /modules/unbound.nix
parent2024-10-21 (diff)
2024-10-22
Diffstat (limited to 'modules/unbound.nix')
-rw-r--r--modules/unbound.nix15
1 files changed, 1 insertions, 14 deletions
diff --git a/modules/unbound.nix b/modules/unbound.nix
index dae47f8..e837f89 100644
--- a/modules/unbound.nix
+++ b/modules/unbound.nix
@@ -135,20 +135,7 @@ in
             {
               name = ".";
               forward-tls-upstream = true;
-              forward-addr =
-                let
-                  mkDnsOverTls =
-                    ips: auth:
-                    map (
-                      ip:
-                      concatStrings [
-                        ip
-                        "@"
-                        auth
-                      ]
-                    ) ips;
-                in
-                mkDnsOverTls dns.const.quad9.default "853#dns.quad9.net";
+              forward-addr = dns.mkDoT dns.const.quad9.ecs;
             }
           ];
 

Consider giving Nix/NixOS a try! <3