Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cgoLookupCNAME (0.14 sec)

  1. src/net/cgo_stub.go

    	panic("cgo stub: cgo not available")
    }
    
    func cgoLookupIP(ctx context.Context, network, name string) (addrs []IPAddr, err error) {
    	panic("cgo stub: cgo not available")
    }
    
    func cgoLookupCNAME(ctx context.Context, name string) (cname string, err error, completed bool) {
    	panic("cgo stub: cgo not available")
    }
    
    func cgoLookupPTR(ctx context.Context, addr string) (ptrs []string, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/net/lookup_unix.go

    }
    
    func (r *Resolver) lookupCNAME(ctx context.Context, name string) (string, error) {
    	order, conf := systemConf().hostLookupOrder(r, name)
    	if order == hostLookupCgo {
    		if cname, err, ok := cgoLookupCNAME(ctx, name); ok {
    			return cname, err
    		}
    	}
    	return r.goLookupCNAME(ctx, name, order, conf)
    }
    
    func (r *Resolver) lookupSRV(ctx context.Context, service, proto, name string) (string, []*SRV, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/net/cgo_unix.go

    	}
    	if ip6 := ip.To16(); ip6 != nil {
    		return cgoSockaddrInet6(ip6, zoneCache.index(zone)), _C_socklen_t(syscall.SizeofSockaddrInet6)
    	}
    	return nil, 0
    }
    
    func cgoLookupCNAME(ctx context.Context, name string) (cname string, err error, completed bool) {
    	resources, err := resSearch(ctx, name, int(dnsmessage.TypeCNAME), int(dnsmessage.ClassINET))
    	if err != nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top