- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for goLookupIPCNAMEOrder (0.3 sec)
-
src/net/lookup_unix.go
order, conf := systemConf().hostLookupOrder(r, host) if order == hostLookupCgo { return cgoLookupIP(ctx, network, host) } ips, _, err := r.goLookupIPCNAMEOrder(ctx, network, host, order, conf) return ips, err } func (r *Resolver) lookupPort(ctx context.Context, network, service string) (int, error) { // Port lookup is not a DNS operation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 3.3K bytes - Viewed (0) -
src/net/dnsclient_unix.go
func (r *Resolver) goLookupIP(ctx context.Context, network, host string, order hostLookupOrder, conf *dnsConfig) (addrs []IPAddr, err error) { addrs, _, err = r.goLookupIPCNAMEOrder(ctx, network, host, order, conf) return } func (r *Resolver) goLookupIPCNAMEOrder(ctx context.Context, network, name string, order hostLookupOrder, conf *dnsConfig) (addrs []IPAddr, cname dnsmessage.Name, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 24.5K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
_, _, err := r.goLookupIPCNAMEOrder(context.Background(), "ip", "notarealhost", order, nil) if err == nil { t.Errorf("%s: expected error while looking up name not in hosts file", name) continue } // Now check that we get an address when the name appears in the hosts file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0)