summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2017-08-07 01:30:27 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2017-08-10 01:19:17 +0200
commit767b2ae327ba3dcd0e245c074836893439e53148 (patch)
tree75fa99a8ea1849fc179f8764840d7b6cf27e9ee8 /nixos
parent7e5332c86870336706f51faca50ea5a1b3e9bad5 (diff)
downloadnixpkgs-767b2ae327ba3dcd0e245c074836893439e53148.tar
nixpkgs-767b2ae327ba3dcd0e245c074836893439e53148.tar.gz
nixpkgs-767b2ae327ba3dcd0e245c074836893439e53148.tar.bz2
nixpkgs-767b2ae327ba3dcd0e245c074836893439e53148.tar.lz
nixpkgs-767b2ae327ba3dcd0e245c074836893439e53148.tar.xz
nixpkgs-767b2ae327ba3dcd0e245c074836893439e53148.tar.zst
nixpkgs-767b2ae327ba3dcd0e245c074836893439e53148.zip
nixos/dnscrypt-proxy: default to random upstream resolver
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/dnscrypt-proxy.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/nixos/modules/services/networking/dnscrypt-proxy.nix b/nixos/modules/services/networking/dnscrypt-proxy.nix
index 077aeca457e..ed658258c7f 100644
--- a/nixos/modules/services/networking/dnscrypt-proxy.nix
+++ b/nixos/modules/services/networking/dnscrypt-proxy.nix
@@ -82,14 +82,13 @@ in
       };
 
       resolverName = mkOption {
-        default = "dnscrypt.eu-nl";
+        default = "random";
+        example = "dnscrypt.eu-nl";
         type = types.nullOr types.str;
         description = ''
           The name of the DNSCrypt resolver to use, taken from
-          <filename>${resolverList}</filename>.  The default
-          resolver is located in Holland, supports DNS security
-          extensions, and <emphasis>claims</emphasis> to not
-          keep logs.
+          <filename>${resolverList}</filename>.  The default is to
+          pick a random non-logging resolver that supports DNSSEC.
         '';
       };