type net.DNSError
48 uses
net (current package)
cgo_unix.go#L49: return zero, &DNSError{
cgo_unix.go#L79: return zero, &DNSError{
cgo_unix.go#L109: return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}
cgo_unix.go#L126: return 0, &DNSError{Err: err.Error(), Name: network + "/" + service}
cgo_unix.go#L178: return nil, &DNSError{Err: err.Error(), Name: name}
cgo_unix.go#L246: return nil, &DNSError{Err: "invalid address", Name: addr}
cgo_unix.go#L250: return nil, &DNSError{Err: "invalid address " + ip.String(), Name: addr}
dnsclient.go#L36: return "", &DNSError{Err: "unrecognized address", Name: addr}
dnsclient_unix.go#L303: return dnsmessage.Parser{}, "", &DNSError{Err: errCannotMarshalDNSMessage.Error(), Name: name}
dnsclient_unix.go#L473: if err, ok := err.(*DNSError); ok {
dnsclient_unix.go#L716: lastErr = &DNSError{
dnsclient_unix.go#L729: lastErr = &DNSError{
dnsclient_unix.go#L744: lastErr = &DNSError{
dnsclient_unix.go#L759: lastErr = &DNSError{
dnsclient_unix.go#L772: lastErr = &DNSError{
dnsclient_unix.go#L794: if lastErr, ok := lastErr.(*DNSError); ok {
dnsclient_unix.go#L846: var dnsErr *DNSError
dnsclient_unix.go#L864: return nil, &DNSError{
dnsclient_unix.go#L873: return nil, &DNSError{
dnsclient_unix.go#L883: return nil, &DNSError{
lookup.go#L97: return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}
lookup.go#L110: return 0, &DNSError{Err: "unknown network", Name: errNetwork + "/" + service}
lookup.go#L367: if _, ok := err.(*DNSError); !ok {
lookup.go#L474: return "", &DNSError{Err: errMalformedDNSRecordsDetail, Name: host}
lookup.go#L517: return "", nil, &DNSError{Err: "SRV header name is invalid", Name: name}
lookup.go#L530: return cname, filteredAddrs, &DNSError{Err: errMalformedDNSRecordsDetail, Name: name}
lookup.go#L570: return filteredMX, &DNSError{Err: errMalformedDNSRecordsDetail, Name: name}
lookup.go#L610: return filteredNS, &DNSError{Err: errMalformedDNSRecordsDetail, Name: name}
lookup.go#L662: return filteredNames, &DNSError{Err: errMalformedDNSRecordsDetail, Name: addr}
lookup.go#L721: return "", nil, &DNSError{
lookup.go#L729: return "", nil, &DNSError{
lookup.go#L742: return "", nil, &DNSError{
lookup.go#L767: return nil, &DNSError{
lookup.go#L775: return nil, &DNSError{
lookup.go#L785: return nil, &DNSError{
lookup.go#L811: return nil, &DNSError{
lookup.go#L819: return nil, &DNSError{
lookup.go#L829: return nil, &DNSError{
lookup.go#L853: return nil, &DNSError{
lookup.go#L861: return nil, &DNSError{
lookup.go#L871: return nil, &DNSError{
net.go#L658: type DNSError struct {
net.go#L674: func newDNSError(err error, name, server string) *DNSError {
net.go#L693: return &DNSError{
net.go#L705: func (e *DNSError) Unwrap() error { return e.UnwrapErr }
net.go#L707: func (e *DNSError) Error() string {
net.go#L722: func (e *DNSError) Timeout() bool { return e.IsTimeout }
net.go#L727: func (e *DNSError) Temporary() bool { return e.IsTimeout || e.IsTemporary }
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |