change dns check

This commit is contained in:
YouROK
2021-03-02 19:33:17 +03:00
parent 1908d9715c
commit b94e6cb864

View File

@@ -62,7 +62,7 @@ func main() {
} }
func dnsResolve() { func dnsResolve() {
addrs, err := net.LookupHost("www.themoviedb.org") addrs, err := net.LookupHost("www.google.com")
if len(addrs) == 0 { if len(addrs) == 0 {
fmt.Println("Check dns", addrs, err) fmt.Println("Check dns", addrs, err)