Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 162 for pname (0.15 sec)

  1. src/net/lookup.go

    func (r *Resolver) LookupSRV(ctx context.Context, service, proto, name string) (string, []*SRV, error) {
    	cname, addrs, err := r.lookupSRV(ctx, service, proto, name)
    	if err != nil {
    		return "", nil, err
    	}
    	if cname != "" && !isDomainName(cname) {
    		return "", nil, &DNSError{Err: "SRV header name is invalid", Name: name}
    	}
    	filteredAddrs := make([]*SRV, 0, len(addrs))
    	for _, addr := range addrs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  2. src/net/cgo_unix_cgo_resn.go

    	return err
    }
    
    func _C_res_nclose(state *_C_struct___res_state) {
    	C.res_nclose(state)
    }
    
    func _C_res_nsearch(state *_C_struct___res_state, dname *_C_char, class, typ int, ans *_C_uchar, anslen int) int {
    	x := C.res_nsearch(state, dname, C.int(class), C.int(typ), ans, C.int(anslen))
    	return int(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 979 bytes
    - Viewed (0)
  3. src/net/dnsclient_unix.go

    // see golang.org/issue/16739.
    func avoidDNS(name string) bool {
    	if name == "" {
    		return true
    	}
    	if name[len(name)-1] == '.' {
    		name = name[:len(name)-1]
    	}
    	return stringsHasSuffixFold(name, ".onion")
    }
    
    // nameList returns a list of names for sequential DNS queries.
    func (conf *dnsConfig) nameList(name string) []string {
    	// Check name length (see isDomainName).
    	l := len(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. pkg/dns/client/dns_test.go

    		},
    		{
    			name:     "success: alt host - name",
    			host:     "svc-with-alt.",
    			expected: a("svc-with-alt.", []netip.Addr{netip.MustParseAddr("15.15.15.15")}),
    		},
    		{
    			name:     "success: alt host - name.namespace",
    			host:     "svc-with-alt.ns1.",
    			expected: a("svc-with-alt.ns1.", []netip.Addr{netip.MustParseAddr("15.15.15.15")}),
    		},
    		{
    			name:     "success: alt host - name.namespace.svc",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. src/net/lookup_windows_test.go

    	}
    	return
    }
    
    func nslookupCNAME(name string) (cname string, err error) {
    	var r string
    	if r, err = nslookup("cname", name); err != nil {
    		return
    	}
    	// mail.golang.com canonical name = golang.org.
    	rx := regexp.MustCompile(`(?m)^([a-z0-9.\-]+)\s+canonical name\s*=\s*([a-z0-9.\-]+)$`)
    	// assumes the last CNAME is the correct one
    	last := name
    	for _, ans := range rx.FindAllStringSubmatch(r, -1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/net/lookup_windows.go

    		}
    		if p.Type != dnstype {
    			continue
    		}
    		if !syscall.DnsNameCompare(cname, p.Name) {
    			continue
    		}
    		rec = append(rec, p)
    	}
    	return rec
    }
    
    // returns the last CNAME in chain.
    func resolveCNAME(name *uint16, r *syscall.DNSRecord) *uint16 {
    	// limit cname resolving to 10 in case of an infinite CNAME loop
    Cname:
    	for cnameloop := 0; cnameloop < 10; cnameloop++ {
    		for p := r; p != nil; p = p.Next {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. hack/update-vendor-licenses.sh

        # Look in as many places as we find files matching
        COPYRIGHT) find_names=(-iname 'notice*' -o -iname 'readme*')
                   find_maxdepth=3
                   ensure_pattern="copyright"
                   ;;
          COPYING) find_names=(-iname 'copying*')
                   find_maxdepth=1
                   ensure_pattern="license|copyright"
                   ;;
      esac
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:53 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. pkg/dns/client/dns.go

    	// Odds are, the first query will always be an expanded hostname
    	// (productpage.ns1.svc.cluster.local.ns1.svc.cluster.local)
    	// So lookup the cname table first
    	for _, cn := range table.cname[hostname] {
    		// this was a cname match
    		copied := dns.Copy(cn).(*dns.CNAME)
    		copied.Header().Name = question
    		cnAnswers = append(cnAnswers, copied)
    		hostname = copied.Target
    	}
    
    	switch qtype {
    	case dns.TypeA:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. pkg/test/kube/dump.go

    						c.Name(), pod.Namespace, pod.Name, container.Name, restarts, prow.ArtifactsURL(fname))
    				}
    				l, err := c.PodLogs(context.TODO(), pod.Name, pod.Namespace, container.Name, true /* previousLog */)
    				if err != nil {
    					scopes.Framework.Warnf("Unable to get previous logs for cluster/pod/container: %s/%s/%s/%s: %v",
    						c.Name(), pod.Namespace, pod.Name, container.Name, err)
    				}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. src/net/cgo_unix_cgo_res.go

    	return nil
    }
    
    func _C_res_nclose(state *_C_struct___res_state) {
    	return
    }
    
    func _C_res_nsearch(state *_C_struct___res_state, dname *_C_char, class, typ int, ans *_C_uchar, anslen int) int {
    	x := C.res_search(dname, C.int(class), C.int(typ), ans, C.int(anslen))
    	return int(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 892 bytes
    - Viewed (0)
Back to top