refactor(dns): drop adguard and dnscrypt-proxy in favor of nextdns
This commit is contained in:
parent
de4ef804d3
commit
67f3da331a
@ -62,44 +62,9 @@ in
|
||||
|
||||
. {
|
||||
cache
|
||||
forward . 127.0.0.1:${toString config.services.adguardhome.settings.dns.port}
|
||||
forward . 45.90.28.77 45.90.30.77
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
adguardhome = {
|
||||
enable = true;
|
||||
settings = {
|
||||
port = 5354;
|
||||
dns = {
|
||||
port = 5300;
|
||||
};
|
||||
upstream_dns = [
|
||||
"tls://architect.d65174.dns.nextdns.io"
|
||||
"https://dns.nextdns.io/d65174/architect"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
dnscrypt-proxy2 = {
|
||||
enable = true;
|
||||
settings = {
|
||||
listen_addresses = [ "127.0.0.1:5354" ];
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user