[change] config: fix default upstreams list
This commit is contained in:
parent
982f8dc1e1
commit
c8c663f3f0
|
@ -249,5 +249,5 @@
|
||||||
"update_announcement": "AdGuard Home {{version}} is now available! <0>Click here</0> for more info.",
|
"update_announcement": "AdGuard Home {{version}} is now available! <0>Click here</0> for more info.",
|
||||||
"upstream_parallel": "Use parallel queries to speed up resolving by simultaneously querying all upstream servers",
|
"upstream_parallel": "Use parallel queries to speed up resolving by simultaneously querying all upstream servers",
|
||||||
"bootstrap_dns": "Bootstrap DNS servers",
|
"bootstrap_dns": "Bootstrap DNS servers",
|
||||||
"bootstrap_dns_desc": "Bootstrap DNS servers are used to resolve IP address of the DOH/DOT resolvers you specify as upstreams."
|
"bootstrap_dns_desc": "Bootstrap DNS servers are used to resolve IP addresses of the DOH/DOT resolvers you specify as upstreams."
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ type dnsConfig struct {
|
||||||
UpstreamDNS []string `yaml:"upstream_dns"`
|
UpstreamDNS []string `yaml:"upstream_dns"`
|
||||||
}
|
}
|
||||||
|
|
||||||
var defaultDNS = []string{"https://dns.adguard.com/dns-query", "https://dns.cloudflare.com/dns-query"}
|
var defaultDNS = []string{"https://dns.cloudflare.com/dns-query"}
|
||||||
var defaultBootstrap = []string{"1.1.1.1"}
|
var defaultBootstrap = []string{"1.1.1.1"}
|
||||||
|
|
||||||
type tlsConfigSettings struct {
|
type tlsConfigSettings struct {
|
||||||
|
|
Loading…
Reference in New Issue