- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for dnsConfig (0.29 sec)
-
src/net/dnsconfig.go
// Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname defaultNS var defaultNS = []string{"127.0.0.1:53", "[::1]:53"} var getHostname = os.Hostname // variable for testing type dnsConfig struct { servers []string // server addresses (in host:port form) to use search []string // rooted suffixes to append to local name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 2.2K bytes - Viewed (0) -
src/net/dnsconfig_windows.go
// license that can be found in the LICENSE file. package net import ( "internal/syscall/windows" "syscall" "time" ) func dnsReadConfig(ignoredFilename string) (conf *dnsConfig) { conf = &dnsConfig{ ndots: 1, timeout: 5 * time.Second, attempts: 2, } defer func() { if len(conf.servers) == 0 { conf.servers = defaultNS } }() aas, err := adapterAddresses()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 10:25:02 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime_helper.go
} return &opts, nil, nil } func (f *FakeRuntimeHelper) GetPodCgroupParent(pod *v1.Pod) string { return "" } func (f *FakeRuntimeHelper) GetPodDNS(pod *v1.Pod) (*runtimeapi.DNSConfig, error) { return &runtimeapi.DNSConfig{ Servers: f.DNSServers, Searches: f.DNSSearches, Options: f.DNSOptions}, f.Err } // This is not used by docker runtime.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 11:01:00 UTC 2024 - 2.4K bytes - Viewed (0) -
tools/istio-clean-iptables/pkg/config/config.go
// traffic to port 53 will be captured. if c.RedirectDNS && !c.CaptureAllDNS { dnsConfig, err := dns.ClientConfigFromFile("/etc/resolv.conf") if err != nil { log.Fatalf("failed to load /etc/resolv.conf: %v", err) } c.DNSServersV4, c.DNSServersV6 = netutil.IPsSplitV4V6(dnsConfig.Servers) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 3.9K bytes - Viewed (0) -
src/net/dnsconfig_unix.go
package net import ( "internal/bytealg" "internal/stringslite" "net/netip" "time" ) // See resolv.conf(5) on a Linux machine. func dnsReadConfig(filename string) *dnsConfig { conf := &dnsConfig{ ndots: 1, timeout: 5 * time.Second, attempts: 2, } file, err := open(filename) if err != nil { conf.servers = defaultNS conf.search = dnsDefaultSearch() conf.err = err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:14:43 UTC 2024 - 4.1K bytes - Viewed (0) -
tools/istio-iptables/pkg/config/config.go
// traffic to port 53 will be captured. if c.RedirectDNS && !c.CaptureAllDNS { dnsConfig, err := dns.ClientConfigFromFile("/etc/resolv.conf") if err != nil { return fmt.Errorf("failed to load /etc/resolv.conf: %v", err) } c.DNSServersV4, c.DNSServersV6 = netutil.IPsSplitV4V6(dnsConfig.Servers) } return nil } // mock net.InterfaceAddrs to make its unit test become available var (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml
# the application will first try to resolve the hostname (a, a.ns, etc.) as is # before attempting to add the search namespaces. dnsPolicy: None dnsConfig: nameservers: - "8.8.8.8" options: - name: "ndots" value: "1" {{- if $.VM.IstioHost }} # Override the istiod host to force traffic through east-west gateway.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 8K bytes - Viewed (0) -
tests/integration/helm/install_test.go
} func TestAmbientInstallMultiNamespace(t *testing.T) { tests := []struct { name string nsConfig NamespaceConfig }{{ name: "isolated-istio-cni", nsConfig: NewNamespaceConfig(types.NamespacedName{ Name: CniReleaseName, Namespace: "istio-cni", }), }, { name: "isolated-istio-cni-and-ztunnel", nsConfig: NewNamespaceConfig(types.NamespacedName{ Name: CniReleaseName, Namespace: "istio-cni",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 19:04:51 UTC 2024 - 7.7K bytes - Viewed (0) -
pkg/test/framework/components/namespace/namespace.go
return newKube(ctx, cfg) } // NewOrFail calls New and fails test if it returns error func NewOrFail(t test.Failer, ctx resource.Context, nsConfig Config) Instance { t.Helper() i, err := New(ctx, nsConfig) if err != nil { t.Fatalf("namespace.NewOrFail: %v", err) } return i } // GetAll returns all namespaces that have exist in the context.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 18:12:14 UTC 2023 - 4.6K bytes - Viewed (0)