adguard: parallel upstreams + plain UDP fallbacks for speed
DoH-only sequential upstreams made first-time lookups slow. Add plain UDP 1.1.1.1/9.9.9.9 alongside DoH and set upstream_mode=parallel so AdGuard queries all four simultaneously and uses the fastest response. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
919c991e3d
commit
8aeb8e2de7
1 changed files with 5 additions and 1 deletions
|
|
@ -14,10 +14,14 @@
|
||||||
dns = {
|
dns = {
|
||||||
bind_hosts = [ "0.0.0.0" ];
|
bind_hosts = [ "0.0.0.0" ];
|
||||||
port = 53;
|
port = 53;
|
||||||
# DNS-over-HTTPS upstreams — encrypts queries to resolvers
|
# Query all upstreams in parallel; take the fastest response
|
||||||
|
upstream_mode = "parallel";
|
||||||
|
# Mix of DoH (encrypted) and plain UDP (low-latency) upstreams
|
||||||
upstream_dns = [
|
upstream_dns = [
|
||||||
"https://dns.cloudflare.com/dns-query"
|
"https://dns.cloudflare.com/dns-query"
|
||||||
"https://dns.quad9.net/dns-query"
|
"https://dns.quad9.net/dns-query"
|
||||||
|
"1.1.1.1"
|
||||||
|
"9.9.9.9"
|
||||||
];
|
];
|
||||||
bootstrap_dns = [ "1.1.1.1" "9.9.9.9" ];
|
bootstrap_dns = [ "1.1.1.1" "9.9.9.9" ];
|
||||||
cache_size = 4194304;
|
cache_size = 4194304;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue