Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: Lookup does not support Android/ios #34024

Open
f4nff opened this issue Sep 2, 2019 · 3 comments

Comments

@f4nff
Copy link

commented Sep 2, 2019

$ go version
1.12.9
package main
 
import (
  "fmt"
  "net"
)
 
func main() {
  txtrecords, _ := net.LookupTXT("facebook.com")
 
  for _, txt := range txtrecords {
    fmt.Println(txt)
  }
}

lookup facebook.com on [::1]:53: read udp [::1]:57440->[::1]:53: read: connection refused

android There is no /etc/resolv.conf file.

@agnivade

This comment has been minimized.

Copy link
Member

commented Sep 3, 2019

@xdown-org

This comment has been minimized.

Copy link

commented Sep 5, 2019

This problem has been around for nearly four years, and no one has corrected it. I am very disappointed.

@bradfitz

This comment has been minimized.

Copy link
Member

commented Sep 11, 2019

@xdown-org, sorry, but nobody is working full time on Go's mobile support.

It's minimally maintained on life support, but few people are actively working to make it better. Definitely nobody at Google.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.