DNSCrypt: Difference between revisions

From NixOS Wiki
imported>Makefu
import from nixos-users
 
imported>Emily
article uses old version of dnscrypt-proxy; redirect to more generic article that has information on the Go rewrite
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Usually DNS is not encrypted and unauthenticated by default. Some countries or provider may change the result of domain resolution.
#REDIRECT [[Encrypted DNS]]
 
= Enable DNSCrypt =
 
The following snippet will enable DNSCrypt and set it as the default system resolver.
 
<pre class="nix">{ # configuration.nix
  services.dnscrypt-proxy = {
    enable = true;
    # the official default resolver is unreliable from time to time
    # either use a different, trust-worthy one from here:
    #  https://github.com/jedisct1/dnscrypt-proxy/blob/master/dnscrypt-resolvers.csv
    # or setup your own.
    #resolverName = &quot;cs-de&quot;;
  };
  networking.nameservers = [&quot;127.0.0.1&quot;];
}</pre>

Latest revision as of 20:32, 17 April 2020

Redirect to: