From fb79416ebef97145210da3893d00e94c190725d4 Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Thu, 14 May 2020 18:24:59 +0300 Subject: [PATCH] -: fix #1632 --- dnsforward/dnsforward_http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnsforward/dnsforward_http.go b/dnsforward/dnsforward_http.go index a628bc74..c2c94061 100644 --- a/dnsforward/dnsforward_http.go +++ b/dnsforward/dnsforward_http.go @@ -343,8 +343,8 @@ func checkDNS(input string, bootstrap []string) error { return fmt.Errorf("wrong upstream format: %s", err) } - // No need to check this entrance - if input == "#" && !defaultUpstream { + // No need to check this DNS server + if input == "#" || !defaultUpstream { return nil }