Set default servers to tls://1.1.1.1 and tls://1.0.0.1

Also add support for tls:// in webUI API
This commit is contained in:
Eugene Bujak
2018-09-26 17:47:23 +03:00
parent 3afd8fccc7
commit ff86d6b7dc
3 changed files with 88 additions and 39 deletions

View File

@@ -56,7 +56,7 @@ type filter struct {
LastUpdated time.Time `json:"last_updated" yaml:"-"`
}
var defaultDNS = []string{"1.1.1.1", "1.0.0.1"}
var defaultDNS = []string{"tls://1.1.1.1", "tls://1.0.0.1"}
// initialize to default values, will be changed later when reading config or parsing command line
var config = configuration{