type net.DNSError
47 uses
net (current package)
cgo_unix.go#L102: return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}
cgo_unix.go#L119: return 0, &DNSError{Err: err.Error(), Name: network + "/" + service}
cgo_unix.go#L171: return nil, &DNSError{Err: err.Error(), Name: name}
cgo_unix.go#L249: return nil, &DNSError{Err: "invalid address", Name: addr}
cgo_unix.go#L253: return nil, &DNSError{Err: "invalid address " + ip.String(), Name: addr}
dnsclient.go#L36: return "", &DNSError{Err: "unrecognized address", Name: addr}
dnsclient_unix.go#L304: return dnsmessage.Parser{}, "", &DNSError{Err: errCannotMarshalDNSMessage.Error(), Name: name}
dnsclient_unix.go#L474: if err, ok := err.(*DNSError); ok {
dnsclient_unix.go#L715: lastErr = &DNSError{
dnsclient_unix.go#L728: lastErr = &DNSError{
dnsclient_unix.go#L743: lastErr = &DNSError{
dnsclient_unix.go#L758: lastErr = &DNSError{
dnsclient_unix.go#L771: lastErr = &DNSError{
dnsclient_unix.go#L793: if lastErr, ok := lastErr.(*DNSError); ok {
dnsclient_unix.go#L845: var dnsErr *DNSError
dnsclient_unix.go#L863: return nil, &DNSError{
dnsclient_unix.go#L872: return nil, &DNSError{
dnsclient_unix.go#L882: return nil, &DNSError{
lookup.go#L98: return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}
lookup.go#L111: return 0, &DNSError{Err: "unknown network", Name: errNetwork + "/" + service}
lookup.go#L368: if _, ok := err.(*DNSError); !ok {
lookup.go#L475: return "", &DNSError{Err: errMalformedDNSRecordsDetail, Name: host}
lookup.go#L518: return "", nil, &DNSError{Err: "SRV header name is invalid", Name: name}
lookup.go#L531: return cname, filteredAddrs, &DNSError{Err: errMalformedDNSRecordsDetail, Name: name}
lookup.go#L576: return filteredMX, &DNSError{Err: errMalformedDNSRecordsDetail, Name: name}
lookup.go#L616: return filteredNS, &DNSError{Err: errMalformedDNSRecordsDetail, Name: name}
lookup.go#L674: return filteredNames, &DNSError{Err: errMalformedDNSRecordsDetail, Name: addr}
lookup.go#L733: return "", nil, &DNSError{
lookup.go#L741: return "", nil, &DNSError{
lookup.go#L754: return "", nil, &DNSError{
lookup.go#L779: return nil, &DNSError{
lookup.go#L787: return nil, &DNSError{
lookup.go#L797: return nil, &DNSError{
lookup.go#L823: return nil, &DNSError{
lookup.go#L831: return nil, &DNSError{
lookup.go#L841: return nil, &DNSError{
lookup.go#L865: return nil, &DNSError{
lookup.go#L873: return nil, &DNSError{
lookup.go#L883: return nil, &DNSError{
net.go#L668: type DNSError struct {
net.go#L684: func newDNSError(err error, name, server string) *DNSError {
net.go#L703: return &DNSError{
net.go#L715: func (e *DNSError) Unwrap() error { return e.UnwrapErr }
net.go#L717: func (e *DNSError) Error() string {
net.go#L732: func (e *DNSError) Timeout() bool { return e.IsTimeout }
net.go#L737: func (e *DNSError) Temporary() bool { return e.IsTimeout || e.IsTemporary }
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L276: dnsErr, ok := err.(*net.DNSError)