From 9d7285e42c61852ab5106402b0138ef27dbc5b0f Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Tue, 13 Aug 2019 11:52:06 +0300 Subject: [PATCH] * config: set default DNS server as IP addresses * config: add "1.0.0.1" to default bootstrap addresses --- home/config.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/home/config.go b/home/config.go index f606ae03..85d8498a 100644 --- a/home/config.go +++ b/home/config.go @@ -112,8 +112,11 @@ type dnsConfig struct { UpstreamDNS []string `yaml:"upstream_dns"` } -var defaultDNS = []string{"https://dns.cloudflare.com/dns-query"} -var defaultBootstrap = []string{"1.1.1.1"} +var defaultDNS = []string{ + "https://1.1.1.1/dns-query", + "https://1.0.0.1/dns-query", +} +var defaultBootstrap = []string{"1.1.1.1", "1.0.0.1"} type tlsConfigSettings struct { Enabled bool `yaml:"enabled" json:"enabled"` // Enabled is the encryption (DOT/DOH/HTTPS) status