From 0d3aa00956ad386ca4b15b035f4e3778026fb049 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Mon, 11 Feb 2019 21:52:39 +0300 Subject: [PATCH] Default values for DoH and DoT ports --- config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.go b/config.go index df87d166..73d26155 100644 --- a/config.go +++ b/config.go @@ -95,6 +95,10 @@ var config = configuration{ }, UpstreamDNS: defaultDNS, }, + TLS: tlsConfig{ + PortHTTPS: 443, + PortDNSOverTLS: 853, // needs to be passed through to dnsproxy + }, Filters: []filter{ {Filter: dnsfilter.Filter{ID: 1}, Enabled: true, URL: "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt", Name: "AdGuard Simplified Domain Names filter"}, {Filter: dnsfilter.Filter{ID: 2}, Enabled: false, URL: "https://adaway.org/hosts.txt", Name: "AdAway"},