diff --git a/dns_android.go b/dns_android.go new file mode 100644 index 0000000..55e9f9e --- /dev/null +++ b/dns_android.go @@ -0,0 +1,10 @@ +//go:build android && cgo +// +build android,cgo + +package main + +import "net" + +func init() { + net.DefaultResolver = &net.Resolver{} +}