This commit is contained in:
Andrey Meshkov 2020-05-14 18:24:59 +03:00
parent 39420c8a00
commit fb79416ebe

View File

@ -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
}