type net.DNSError
51 uses
net (current package)
dnsclient.go#L35: return "", &DNSError{Err: "unrecognized address", Name: addr}
dnsclient_unix.go#L262: dnsErr := &DNSError{
dnsclient_unix.go#L280: dnsErr := &DNSError{
dnsclient_unix.go#L303: lastErr = &DNSError{
dnsclient_unix.go#L312: lastErr.(*DNSError).IsNotFound = true
dnsclient_unix.go#L402: return dnsmessage.Parser{}, "", &DNSError{Err: errNoSuchHost.Error(), Name: name, IsNotFound: true}
dnsclient_unix.go#L427: if err, ok := err.(*DNSError); ok {
dnsclient_unix.go#L579: return nil, dnsmessage.Name{}, &DNSError{Err: errNoSuchHost.Error(), Name: name, IsNotFound: true}
dnsclient_unix.go#L660: lastErr = &DNSError{
dnsclient_unix.go#L673: lastErr = &DNSError{
dnsclient_unix.go#L685: lastErr = &DNSError{
dnsclient_unix.go#L696: lastErr = &DNSError{
dnsclient_unix.go#L721: if lastErr, ok := lastErr.(*DNSError); ok {
dnsclient_unix.go#L771: return nil, &DNSError{
dnsclient_unix.go#L780: return nil, &DNSError{
dnsclient_unix.go#L790: return nil, &DNSError{
lookup.go#L183: return nil, &DNSError{Err: errNoSuchHost.Error(), Name: host, IsNotFound: true}
lookup.go#L291: return nil, &DNSError{Err: errNoSuchHost.Error(), Name: host, IsNotFound: true}
lookup.go#L343: err := &DNSError{
lookup.go#L356: if _, ok := err.(*DNSError); !ok {
lookup.go#L363: err = &DNSError{
lookup.go#L471: return "", &DNSError{Err: errMalformedDNSRecordsDetail, Name: host}
lookup.go#L514: return "", nil, &DNSError{Err: "SRV header name is invalid", Name: name}
lookup.go#L527: return cname, filteredAddrs, &DNSError{Err: errMalformedDNSRecordsDetail, Name: name}
lookup.go#L567: return filteredMX, &DNSError{Err: errMalformedDNSRecordsDetail, Name: name}
lookup.go#L607: return filteredNS, &DNSError{Err: errMalformedDNSRecordsDetail, Name: name}
lookup.go#L659: return filteredNames, &DNSError{Err: errMalformedDNSRecordsDetail, Name: addr}
lookup_unix.go#L150: return "", nil, &DNSError{
lookup_unix.go#L158: return "", nil, &DNSError{
lookup_unix.go#L171: return "", nil, &DNSError{
lookup_unix.go#L195: return nil, &DNSError{
lookup_unix.go#L203: return nil, &DNSError{
lookup_unix.go#L213: return nil, &DNSError{
lookup_unix.go#L238: return nil, &DNSError{
lookup_unix.go#L246: return nil, &DNSError{
lookup_unix.go#L256: return nil, &DNSError{
lookup_unix.go#L279: return nil, &DNSError{
lookup_unix.go#L287: return nil, &DNSError{
lookup_unix.go#L297: return nil, &DNSError{
net.go#L612: type DNSError struct {
net.go#L621: func (e *DNSError) Error() string {
net.go#L636: func (e *DNSError) Timeout() bool { return e.IsTimeout }
net.go#L641: func (e *DNSError) Temporary() bool { return e.IsTimeout || e.IsTemporary }
cgo_unix.go#L77: return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}, true
cgo_unix.go#L121: return 0, &DNSError{Err: err.Error(), Name: network + "/" + service, IsTemporary: isTemporary}
cgo_unix.go#L137: return 0, &DNSError{Err: "unknown port", Name: network + "/" + service}
cgo_unix.go#L187: return nil, "", &DNSError{Err: err.Error(), Name: name, IsNotFound: isErrorNoSuchHost, IsTemporary: isTemporary}
cgo_unix.go#L274: return nil, &DNSError{Err: "invalid address", Name: addr}, true
cgo_unix.go#L278: return nil, &DNSError{Err: "invalid address " + ip.String(), Name: addr}, true
cgo_unix.go#L318: return nil, &DNSError{Err: err.Error(), Name: addr, IsTemporary: isTemporary}
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L281: if dnsErr, ok := err.(*net.DNSError); ok && !dnsErr.IsTimeout && !dnsErr.IsTemporary {