mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
change dns check
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user