dns: re-enable dnscrypt-proxy

This commit is contained in:
Giulio De Pasquale 2023-06-27 05:15:39 +02:00
parent 6b9a066fed
commit 581397ef92

View File

@ -40,7 +40,7 @@ in
adguardhome = {
enable = true;
settings = {
bind_port = 5353;
bind_port = 5354;
dns = {
port = 5300;
};
@ -50,5 +50,26 @@ in
];
};
};
dnscrypt-proxy2 = {
enable = true;
settings = {
listen_addresses = [ "127.0.0.1:5353" ];
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;
};
};
};
}