Skip to content

net: Lookup does not support Android/ios #34024

@f4nff

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.help wantedmobileAndroid, iOS, and x/mobile

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions