/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/lib/etcconf/ |
H A D | resolvconf.go | 47 type resolvConf struct { struct 79 return &resolvConf{ 141 func (r *resolvConf) Copy(conf Conf) error { argument 142 existing := conf.(*resolvConf) 153 func (r *resolvConf) Load() error { argument 157 rc := &resolvConf{} 166 func (r *resolvConf) Save() error { argument 238 func (r *resolvConf) Nameservers() []net.IP { argument 249 func (r *resolvConf) Attempts() uint { argument 265 func (r *resolvConf) Path() string { argument [all …]
|
/dports/sysutils/nomad/nomad-1.1.0/plugins/drivers/testutils/ |
H A D | dns_testing.go | 33 resolvConf := []byte(strings.TrimSpace(r.stdout)) 37 require.ElementsMatch(t, dns.Servers, dresolvconf.GetNameservers(resolvConf, dtypes.IP)) 40 require.ElementsMatch(t, dns.Searches, dresolvconf.GetSearchDomains(resolvConf)) 43 require.ElementsMatch(t, dns.Options, dresolvconf.GetOptions(resolvConf)) 53 …vconf.GetNameservers(system.Content, dtypes.IP), dresolvconf.GetNameservers(resolvConf, dtypes.IP)) 54 …ntsMatch(t, dresolvconf.GetSearchDomains(system.Content), dresolvconf.GetSearchDomains(resolvConf)) 55 …equire.ElementsMatch(t, dresolvconf.GetOptions(system.Content), dresolvconf.GetOptions(resolvConf))
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 117 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 118 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 157 func GetNameservers(resolvConf []byte, kind int) []string { 159 for _, line := range getLines(resolvConf, []byte("#")) { 178 func GetNameserversAsCIDR(resolvConf []byte) []string { 180 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 189 func GetSearchDomains(resolvConf []byte) []string { 191 for _, line := range getLines(resolvConf, []byte("#")) { 204 func GetOptions(resolvConf []byte) []string { 206 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/sysutils/docker/docker-ce-18.09.5/components/engine/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 114 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 115 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 154 func GetNameservers(resolvConf []byte, kind int) []string { 156 for _, line := range getLines(resolvConf, []byte("#")) { 175 func GetNameserversAsCIDR(resolvConf []byte) []string { 177 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 193 func GetSearchDomains(resolvConf []byte) []string { 195 for _, line := range getLines(resolvConf, []byte("#")) { 208 func GetOptions(resolvConf []byte) []string { 210 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 117 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 118 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 157 func GetNameservers(resolvConf []byte, kind int) []string { 159 for _, line := range getLines(resolvConf, []byte("#")) { 178 func GetNameserversAsCIDR(resolvConf []byte) []string { 180 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 196 func GetSearchDomains(resolvConf []byte) []string { 198 for _, line := range getLines(resolvConf, []byte("#")) { 211 func GetOptions(resolvConf []byte) []string { 213 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 114 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 115 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 154 func GetNameservers(resolvConf []byte, kind int) []string { 156 for _, line := range getLines(resolvConf, []byte("#")) { 175 func GetNameserversAsCIDR(resolvConf []byte) []string { 177 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 193 func GetSearchDomains(resolvConf []byte) []string { 195 for _, line := range getLines(resolvConf, []byte("#")) { 208 func GetOptions(resolvConf []byte) []string { 210 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 114 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 115 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 154 func GetNameservers(resolvConf []byte, kind int) []string { 156 for _, line := range getLines(resolvConf, []byte("#")) { 175 func GetNameserversAsCIDR(resolvConf []byte) []string { 177 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 193 func GetSearchDomains(resolvConf []byte) []string { 195 for _, line := range getLines(resolvConf, []byte("#")) { 208 func GetOptions(resolvConf []byte) []string { 210 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/security/vault/vault-1.8.2/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 117 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 118 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 157 func GetNameservers(resolvConf []byte, kind int) []string { 159 for _, line := range getLines(resolvConf, []byte("#")) { 178 func GetNameserversAsCIDR(resolvConf []byte) []string { 180 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 196 func GetSearchDomains(resolvConf []byte) []string { 198 for _, line := range getLines(resolvConf, []byte("#")) { 211 func GetOptions(resolvConf []byte) []string { 213 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 117 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 118 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 157 func GetNameservers(resolvConf []byte, kind int) []string { 159 for _, line := range getLines(resolvConf, []byte("#")) { 178 func GetNameserversAsCIDR(resolvConf []byte) []string { 180 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 196 func GetSearchDomains(resolvConf []byte) []string { 198 for _, line := range getLines(resolvConf, []byte("#")) { 211 func GetOptions(resolvConf []byte) []string { 213 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 117 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 118 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 157 func GetNameservers(resolvConf []byte, kind int) []string { 159 for _, line := range getLines(resolvConf, []byte("#")) { 178 func GetNameserversAsCIDR(resolvConf []byte) []string { 180 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 196 func GetSearchDomains(resolvConf []byte) []string { 198 for _, line := range getLines(resolvConf, []byte("#")) { 211 func GetOptions(resolvConf []byte) []string { 213 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 148 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 149 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 188 func GetNameservers(resolvConf []byte, kind int) []string { 190 for _, line := range getLines(resolvConf, []byte("#")) { 209 func GetNameserversAsCIDR(resolvConf []byte) []string { 211 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 227 func GetSearchDomains(resolvConf []byte) []string { 229 for _, line := range getLines(resolvConf, []byte("#")) { 242 func GetOptions(resolvConf []byte) []string { 244 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 148 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 149 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 188 func GetNameservers(resolvConf []byte, kind int) []string { 190 for _, line := range getLines(resolvConf, []byte("#")) { 209 func GetNameserversAsCIDR(resolvConf []byte) []string { 211 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 227 func GetSearchDomains(resolvConf []byte) []string { 229 for _, line := range getLines(resolvConf, []byte("#")) { 242 func GetOptions(resolvConf []byte) []string { 244 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 148 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 149 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 188 func GetNameservers(resolvConf []byte, kind int) []string { 190 for _, line := range getLines(resolvConf, []byte("#")) { 209 func GetNameserversAsCIDR(resolvConf []byte) []string { 211 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 227 func GetSearchDomains(resolvConf []byte) []string { 229 for _, line := range getLines(resolvConf, []byte("#")) { 242 func GetOptions(resolvConf []byte) []string { 244 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 148 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 149 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 188 func GetNameservers(resolvConf []byte, kind int) []string { 190 for _, line := range getLines(resolvConf, []byte("#")) { 209 func GetNameserversAsCIDR(resolvConf []byte) []string { 211 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 227 func GetSearchDomains(resolvConf []byte) []string { 229 for _, line := range getLines(resolvConf, []byte("#")) { 242 func GetOptions(resolvConf []byte) []string { 244 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/sysutils/nomad/nomad-1.1.0/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 148 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 149 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 188 func GetNameservers(resolvConf []byte, kind int) []string { 190 for _, line := range getLines(resolvConf, []byte("#")) { 209 func GetNameserversAsCIDR(resolvConf []byte) []string { 211 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 227 func GetSearchDomains(resolvConf []byte) []string { 229 for _, line := range getLines(resolvConf, []byte("#")) { 242 func GetOptions(resolvConf []byte) []string { 244 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker/moby-20.10.2/vendor/github.com/docker/libnetwork/resolvconf/ |
H A D | resolvconf.go | 148 func FilterResolvDNS(resolvConf []byte, ipv6Enabled bool) (*File, error) { 149 cleanedResolvConf := localhostNSRegexp.ReplaceAll(resolvConf, []byte{}) 188 func GetNameservers(resolvConf []byte, kind int) []string { 190 for _, line := range getLines(resolvConf, []byte("#")) { 209 func GetNameserversAsCIDR(resolvConf []byte) []string { 211 for _, nameserver := range GetNameservers(resolvConf, types.IP) { 227 func GetSearchDomains(resolvConf []byte) []string { 229 for _, line := range getLines(resolvConf, []byte("#")) { 242 func GetOptions(resolvConf []byte) []string { 244 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/libnetwork/drivers/bridge/ |
H A D | resolvconf.go | 49 func getNameserversAsCIDR(resolvConf []byte) []string { 51 for _, nameserver := range getNameservers(resolvConf) { 58 func getNameservers(resolvConf []byte) []string { 60 for _, line := range getLines(resolvConf, []byte("#")) {
|
/dports/net/concourse-fly/concourse-6.7.1/worker/workercmd/ |
H A D | dns.go | 14 resolvConf, err := dns.ClientConfigFromFile("/etc/resolv.conf") 22 for _, server := range resolvConf.Servers { 23 response, _, err := client.Exchange(r, fmt.Sprintf("%s:%s", server, resolvConf.Port))
|
/dports/misc/concourse/concourse-6.7.2/worker/workercmd/ |
H A D | dns.go | 14 resolvConf, err := dns.ClientConfigFromFile("/etc/resolv.conf") 22 for _, server := range resolvConf.Servers { 23 response, _, err := client.Exchange(r, fmt.Sprintf("%s:%s", server, resolvConf.Port))
|
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/net/ |
H A D | dnsclient_unix.go | 238 var resolvConf resolverConfig var 313 resolvConf.tryUpdate("/etc/resolv.conf") 314 resolvConf.mu.RLock() 315 conf := resolvConf.dnsConfig 316 resolvConf.mu.RUnlock() 447 resolvConf.tryUpdate("/etc/resolv.conf") 448 resolvConf.mu.RLock() 449 conf := resolvConf.dnsConfig 450 resolvConf.mu.RUnlock()
|
/dports/lang/gnat_util/gcc-6-20180516/libgo/go/net/ |
H A D | dnsclient_unix.go | 238 var resolvConf resolverConfig var 313 resolvConf.tryUpdate("/etc/resolv.conf") 314 resolvConf.mu.RLock() 315 conf := resolvConf.dnsConfig 316 resolvConf.mu.RUnlock() 447 resolvConf.tryUpdate("/etc/resolv.conf") 448 resolvConf.mu.RLock() 449 conf := resolvConf.dnsConfig 450 resolvConf.mu.RUnlock()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/net/ |
H A D | dnsclient_unix.go | 229 var resolvConf resolverConfig var 304 resolvConf.tryUpdate("/etc/resolv.conf") 305 resolvConf.mu.RLock() 306 conf := resolvConf.dnsConfig 307 resolvConf.mu.RUnlock() 438 resolvConf.tryUpdate("/etc/resolv.conf") 439 resolvConf.mu.RLock() 440 conf := resolvConf.dnsConfig 441 resolvConf.mu.RUnlock()
|
/dports/lang/gcc8/gcc-8.5.0/libgo/go/net/ |
H A D | dnsclient_unix.go | 228 var resolvConf resolverConfig var 299 resolvConf.tryUpdate("/etc/resolv.conf") 300 resolvConf.mu.RLock() 301 conf := resolvConf.dnsConfig 302 resolvConf.mu.RUnlock() 468 resolvConf.tryUpdate("/etc/resolv.conf") 469 resolvConf.mu.RLock() 470 conf := resolvConf.dnsConfig 471 resolvConf.mu.RUnlock()
|
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/net/ |
H A D | dnsclient_unix.go | 228 var resolvConf resolverConfig var 299 resolvConf.tryUpdate("/etc/resolv.conf") 300 resolvConf.mu.RLock() 301 conf := resolvConf.dnsConfig 302 resolvConf.mu.RUnlock() 468 resolvConf.tryUpdate("/etc/resolv.conf") 469 resolvConf.mu.RLock() 470 conf := resolvConf.dnsConfig 471 resolvConf.mu.RUnlock()
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgo/go/net/ |
H A D | dnsclient_unix.go | 228 var resolvConf resolverConfig var 299 resolvConf.tryUpdate("/etc/resolv.conf") 300 resolvConf.mu.RLock() 301 conf := resolvConf.dnsConfig 302 resolvConf.mu.RUnlock() 468 resolvConf.tryUpdate("/etc/resolv.conf") 469 resolvConf.mu.RLock() 470 conf := resolvConf.dnsConfig 471 resolvConf.mu.RUnlock()
|