Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 399 for mdns (0.07 sec)

  1. src/net/conf.go

    				if stringsHasSuffixFold(hostname, ".local") {
    					// Per RFC 6762, the ".local" TLD is special. And
    					// because Go's native resolver doesn't do mDNS or
    					// similar local resolution mechanisms, assume that
    					// libc might (via Avahi, etc) and use cgo.
    					return hostLookupCgo, dnsConf
    				}
    
    				// We don't parse mdns.allow files. They're rare. If one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/net/conf_test.go

    			nss:    nssStr(t, "hosts: files myhostname mdns4_minimal [NOTFOUND=return] dns mdns4"),
    			hostTests: []nssHostTest{
    				{"x.com", "myhostname", hostLookupFilesDNS},
    				{"somehostname", "myhostname", hostLookupFilesDNS},
    				{"myhostname", "myhostname", hostLookupCgo},
    			},
    		},
    		// Debian Squeeze is just "dns,files", but lists all
    		// the default criteria for dns, but then has a
    		// non-standard but redundant notfound=return for the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:46:36 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. go.work.sum

    github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
    github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y=
    github.com/hashicorp/mdns v1.0.0 h1:WhIgCr5a7AaVH6jPUwjtRuuE7/RDufnUvzIr48smyxs=
    github.com/hashicorp/memberlist v0.1.3 h1:EmmoJme1matNzb+hMpDuR/0sbJSUisxyqBGG676r31M=
    github.com/hashicorp/serf v0.8.2 h1:YZ7UKsJv+hKjqGVUUbtE3HNj79Eln2oQ75tniF6iPt0=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:12 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. src/net/lookup_test.go

    			{IP: IPv4(127, 0, 0, 1)},
    			{IP: IPv6loopback},
    		}, nil
    	default:
    		return fn(ctx, network, host)
    	}
    }
    
    // The Lookup APIs use various sources such as local database, DNS or
    // mDNS, and may use platform-dependent DNS stub resolver if possible.
    // The APIs accept any of forms for a query; host name in various
    // encodings, UTF-8 encoded net name, domain name, FQDN or absolute
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. pkg/dns/client/dns.go

    func aaaa(host string, ips []netip.Addr) []dns.RR {
    	answers := make([]dns.RR, len(ips))
    	for i, ip := range ips {
    		r := new(dns.AAAA)
    		r.Hdr = dns.RR_Header{Name: host, Rrtype: dns.TypeAAAA, Class: dns.ClassINET, Ttl: defaultTTLInSeconds}
    		r.AAAA = ip.AsSlice()
    		answers[i] = r
    	}
    	return answers
    }
    
    func cname(host string, targetHost string) []dns.RR {
    	answer := new(dns.CNAME)
    	answer.Hdr = dns.RR_Header{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. pkg/kubelet/network/dns/dns.go

    	nodeRef          *v1.ObjectReference
    	nodeIPs          []net.IP
    
    	// If non-nil, use this for container DNS server.
    	clusterDNS []net.IP
    	// If non-empty, use this for container DNS search.
    	ClusterDomain string
    	// The path to the DNS resolver configuration file used as the base to generate
    	// the container's DNS resolver configuration file. This can be used in
    	// conjunction with clusterDomain and clusterDNS.
    	ResolverConfig string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 04 11:37:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/addons/dns/dns.go

    )
    
    // DeployedDNSAddon returns the image tag of the DNS addon currently deployed
    func DeployedDNSAddon(client clientset.Interface) (string, error) {
    	deploymentsClient := client.AppsV1().Deployments(metav1.NamespaceSystem)
    	deployments, err := deploymentsClient.List(context.TODO(), metav1.ListOptions{LabelSelector: "k8s-app=kube-dns"})
    	if err != nil {
    		return "", errors.Wrap(err, "couldn't retrieve DNS addon deployments")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. pkg/dns/client/dns_test.go

    		})
    	}
    	mux.HandleFunc("giant.", func(resp dns.ResponseWriter, msg *dns.Msg) {
    		answer := &dns.Msg{
    			Answer: giantResponse,
    		}
    		answer.SetReply(msg)
    		answer.Rcode = dns.RcodeSuccess
    		if err := resp.WriteMsg(answer); err != nil {
    			t.Fatalf("err: %s", err)
    		}
    	})
    	mux.HandleFunc("giant-tc.", func(resp dns.ResponseWriter, msg *dns.Msg) {
    		answer := &dns.Msg{
    			Answer: giantResponse,
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/net/dnsclient_unix.go

    	hostLookupDNSFiles                 // dns first
    	hostLookupFiles                    // only files
    	hostLookupDNS                      // only DNS
    )
    
    var lookupOrderName = map[hostLookupOrder]string{
    	hostLookupCgo:      "cgo",
    	hostLookupFilesDNS: "files,dns",
    	hostLookupDNSFiles: "dns,files",
    	hostLookupFiles:    "files",
    	hostLookupDNS:      "dns",
    }
    
    func (o hostLookupOrder) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        var routeSelector = newRouteSelector(address)
        dns[PROXY_A_HOST] = dns.allocate(1)
        dns[PROXY_B_HOST] = dns.allocate(1)
    
        // Mark the ProxyA route as failed.
        val selection = routeSelector.next()
        dns.assertRequests(PROXY_A_HOST)
        val route = selection.next()
        assertRoute(route, address, proxyA, dns.lookup(PROXY_A_HOST, 0), PROXY_A_PORT)
        routeDatabase.failed(route)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top