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 · 4 comments
Open

net: Lookup does not support Android/ios #34024

f4nff opened this issue Sep 2, 2019 · 4 comments
Labels
help wanted mobile Android, iOS, and x/mobile NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@f4nff
Copy link

f4nff 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
Copy link
Contributor

agnivade commented Sep 3, 2019

Related #10714.

@bradfitz @mikioh @ianlancetaylor

@agnivade agnivade added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Sep 3, 2019
@xdown-dev
Copy link

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

@bradfitz bradfitz added help wanted mobile Android, iOS, and x/mobile labels Sep 11, 2019
@bradfitz
Copy link
Contributor

@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.

@hdqb
Copy link

hdqb commented Sep 8, 2021

Does anyone know how to overcome this pain?

@seankhliao seankhliao added this to the Unplanned milestone Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted mobile Android, iOS, and x/mobile NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

6 participants