-: fix #1632
This commit is contained in:
parent
39420c8a00
commit
fb79416ebe
|
@ -343,8 +343,8 @@ func checkDNS(input string, bootstrap []string) error {
|
||||||
return fmt.Errorf("wrong upstream format: %s", err)
|
return fmt.Errorf("wrong upstream format: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// No need to check this entrance
|
// No need to check this DNS server
|
||||||
if input == "#" && !defaultUpstream {
|
if input == "#" || !defaultUpstream {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue