about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2023-12-14 09:25:02 +0900
committerNguyễn Gia Phong <cnx@loang.net>2023-12-14 09:25:02 +0900
commit81897b76214d191340e2451278b0f2568757b9bf (patch)
tree52a1c29c97ddeee70cc7fbb7f4397c013adab5b2 /nix
parentaabe53d9fa064c7d85f8baa6b048383bc762f4de (diff)
downloaddotfiles-81897b76214d191340e2451278b0f2568757b9bf.tar.gz
Use OpenNIC DNS over TLS
Diffstat (limited to 'nix')
-rw-r--r--nix/configuration.nix11
1 files changed, 1 insertions, 10 deletions
diff --git a/nix/configuration.nix b/nix/configuration.nix
index 284a588..4486354 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -153,24 +153,15 @@
 
     smartdns = {
       enable = true;
-      settings.server = [
-        "37.252.191.197" "2a00:63c1:10:197::2" # ns1.at
-        "103.1.206.179" "2400:c400:1002:11:fed:bee0:4433:6fb0" # ns2.au
-        "168.138.8.38" "2603:c023:c002:f4aa:a208:5df4:ee55:b70a" # ns4.au
-        "168.138.12.137" "2603:c023:c002:f4aa:9e63:198d:9c4:cced" # ns5.au
+      settings.server-tls = [
         "137.220.55.93" "2001:19f0:b001:379:5400:3ff:fe68:1cc6" # ns1.ca
-        "94.247.43.254" "2a00:f826:8:1::254" # ns7.de
-        "195.10.195.195" "2a00:f826:8:2::195" # ns8.de
         "51.254.162.59" "2001:41d0:303:3adf:205::" # ns9.de
         "217.160.70.42" "2001:8d8:1801:86e7::1" # ns13.de
         "178.254.22.166" "2a00:6800:3:4bd::1" # ns16.de
         "81.169.136.222" "2a01:238:4231:5200::1" # ns18.de
         "94.16.114.254" "2a03:4000:28:365::1" # ns28.de
         "194.36.144.87" "2a03:4000:4d:c92:88c0:96ff:fec6:b9d" # ns29.de
-        "195.10.195.195" "2a00:f826:8:2::195" # ns31.de
-        "94.247.43.254" "2a00:f826:8:1::254" # ns8.he.de
         "185.181.61.24" "2a03:94e0:1804::1" # ns1.no
-        "104.248.14.193" "2604:a880:800:10::92e:d001" # ns2.nj.us
         "168.235.111.72" "2604:180:f3::132" # ns2.ny.us
       ]; # dns.opennic.glue
     };