/external/avahi/avahi-dnsconfd/ |
avahi-dnsconfd.action | 72 test -f /etc/resolv.conf.avahi && mv /etc/resolv.conf.avahi /etc/resolv.conf 74 test -f /etc/resolv.conf.avahi || mv /etc/resolv.conf /etc/resolv.conf.avahi 78 done > /etc/resolv.conf
|
/prebuilts/go/darwin-x86/src/net/ |
conf_test.go | 22 // represents a dnsConfig returned by parsing a nonexistent resolv.conf 43 resolv: defaultResolvConf, 54 resolv: defaultResolvConf, 69 resolv: defaultResolvConf, 73 // On OpenBSD, no resolv.conf means no DNS. 78 resolv: defaultResolvConf, 87 resolv: defaultResolvConf, 95 resolv: &dnsConfig{lookup: []string{"bind", "file"}}, 106 resolv: &dnsConfig{lookup: []string{"file", "bind"}}, 114 resolv: &dnsConfig{lookup: []string{"bind"}} [all...] |
dnsconfig_unix_test.go | 20 name: "testdata/resolv.conf", 32 name: "testdata/domain-resolv.conf", 42 name: "testdata/search-resolv.conf", 52 name: "testdata/empty-resolv.conf", 61 name: "testdata/openbsd-resolv.conf", 88 t.Errorf("missing resolv.conf:\ngot: %v\nwant: %v", conf.err, os.ErrNotExist) 98 t.Errorf("missing resolv.conf:\ngot: %+v\nwant: %+v", conf, want)
|
conf.go | 32 resolv *dnsConfig 89 // OpenBSD apparently lets you override the location of resolv.conf 100 confVal.resolv = dnsReadConfig("/etc/resolv.conf") 101 if confVal.resolv.err != nil && !os.IsNotExist(confVal.resolv.err) && 102 !os.IsPermission(confVal.resolv.err) { 103 // If we can't read the resolv.conf file, assume it 131 if c.forceCgoLookupHost || c.resolv.unknownOpt || c.goos == "android" { 143 // OpenBSD's resolv.conf manpage says that a non-existen [all...] |
dnsconfig_unix.go | 7 // Read system DNS config from /etc/resolv.conf 22 err error // any error that occurs during open of resolv.conf 25 // See resolv.conf(5) on a Linux machine. 104 // http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/resolv.conf.5
|
dnsclient_unix.go | 220 // time to recheck resolv.conf. 222 lastChecked time.Time // last time resolv.conf was checked 223 modTime time.Time // time of resolv.conf modification 226 dnsConfig *dnsConfig // parsed resolv.conf structure used in lookups 234 // resolv.conf twice the first time. 235 conf.dnsConfig = systemConf().resolv 237 conf.dnsConfig = dnsReadConfig("/etc/resolv.conf") 240 if fi, err := os.Stat("/etc/resolv.conf"); err == nil { 250 // tryUpdate tries to update conf with the named resolv.conf file. 252 // "/etc/resolv.conf" [all...] |
/prebuilts/go/linux-x86/src/net/ |
conf_test.go | 22 // represents a dnsConfig returned by parsing a nonexistent resolv.conf 43 resolv: defaultResolvConf, 54 resolv: defaultResolvConf, 69 resolv: defaultResolvConf, 73 // On OpenBSD, no resolv.conf means no DNS. 78 resolv: defaultResolvConf, 87 resolv: defaultResolvConf, 95 resolv: &dnsConfig{lookup: []string{"bind", "file"}}, 106 resolv: &dnsConfig{lookup: []string{"file", "bind"}}, 114 resolv: &dnsConfig{lookup: []string{"bind"}} [all...] |
dnsconfig_unix_test.go | 20 name: "testdata/resolv.conf", 32 name: "testdata/domain-resolv.conf", 42 name: "testdata/search-resolv.conf", 52 name: "testdata/empty-resolv.conf", 61 name: "testdata/openbsd-resolv.conf", 88 t.Errorf("missing resolv.conf:\ngot: %v\nwant: %v", conf.err, os.ErrNotExist) 98 t.Errorf("missing resolv.conf:\ngot: %+v\nwant: %+v", conf, want)
|
conf.go | 32 resolv *dnsConfig 89 // OpenBSD apparently lets you override the location of resolv.conf 100 confVal.resolv = dnsReadConfig("/etc/resolv.conf") 101 if confVal.resolv.err != nil && !os.IsNotExist(confVal.resolv.err) && 102 !os.IsPermission(confVal.resolv.err) { 103 // If we can't read the resolv.conf file, assume it 131 if c.forceCgoLookupHost || c.resolv.unknownOpt || c.goos == "android" { 143 // OpenBSD's resolv.conf manpage says that a non-existen [all...] |
dnsconfig_unix.go | 7 // Read system DNS config from /etc/resolv.conf 22 err error // any error that occurs during open of resolv.conf 25 // See resolv.conf(5) on a Linux machine. 104 // http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/resolv.conf.5
|
dnsclient_unix.go | 220 // time to recheck resolv.conf. 222 lastChecked time.Time // last time resolv.conf was checked 223 modTime time.Time // time of resolv.conf modification 226 dnsConfig *dnsConfig // parsed resolv.conf structure used in lookups 234 // resolv.conf twice the first time. 235 conf.dnsConfig = systemConf().resolv 237 conf.dnsConfig = dnsReadConfig("/etc/resolv.conf") 240 if fi, err := os.Stat("/etc/resolv.conf"); err == nil { 250 // tryUpdate tries to update conf with the named resolv.conf file. 252 // "/etc/resolv.conf" [all...] |
/external/selinux/policycoreutils/restorecond/ |
restorecond.conf | 2 /etc/resolv.conf
|
/external/valgrind/none/tests/ |
resolv.c | 3 #include <resolv.h>
|
res_search.c | 5 #include <resolv.h>
|
/external/valgrind/none/tests/solaris/ |
resolv.c | 2 * Adapted from none/tests/resolv for Solaris. 5 #include <resolv.h>
|
/external/autotest/client/cros/ |
dns_server.py | 15 _resolv_bak_file = 'resolv.conf.bak' 56 # Follow resolv.conf symlink. 57 resolv = os.path.realpath(constants.RESOLV_CONF_FILE) 59 resolv_dir = os.path.dirname(resolv) 62 # Test to make sure the current resolv.conf isn't already our 67 if (utils.read_one_line(resolv) == resolv_contents and 69 logging.error('Current resolv.conf is setup for our local ' 73 # Back up the current resolv.conf. 74 os.rename(resolv, resolv_bak) 75 # To stop flimflam from editing resolv.conf while we're workin [all...] |
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
phase1-up.sh | 29 test -f /etc/resolv.conf.bak || cp /etc/resolv.conf /etc/resolv.conf.bak 30 echo "# Generated by racoon on `date`" > /etc/resolv.conf 31 echo "nameserver ${INTERNAL_DNS4}" >> /etc/resolv.conf
|
phase1-down.sh | 30 test -f /etc/resolv.conf.bak && cp /etc/resolv.conf.bak /etc/resolv.conf
|
/external/dnsmasq/contrib/openvpn/ |
dhclient-enter-hooks | 29 write_resolv_conf /etc/resolv.conf
|
/external/dhcpcd-6.8.2/dhcpcd-hooks/ |
20-resolv.conf | 1 # Generate /etc/resolv.conf 3 # We can merge other dhcpcd resolv.conf files into one like resolvconf, 9 resolv_conf_dir="$state_dir/resolv.conf" 15 local cf="$state_dir/resolv.conf.$ifname" 21 # Build the resolv.conf 50 # Assemble resolv.conf using our head and tail files 54 if [ -f /etc/resolv.conf.head ]; then 55 cat /etc/resolv.conf.head >> "$cf" 57 echo "# /etc/resolv.conf.head can replace this line" >> "$cf" 60 if [ -f /etc/resolv.conf.tail ]; the [all...] |
Makefile | 7 SCRIPTS+= 10-mtu 10-wpa_supplicant 15-timezone 20-resolv.conf
|
/bionic/libc/upstream-netbsd/lib/libc/include/ |
resolv_mt.h | 9 #include <resolv.h>
|
/external/iproute2/examples/ |
dhcp-client-script | 296 # NOTE: we try to be careful and not to break user supplied resolv.conf. 309 echo $idstring > /etc/resolv.conf.dhcp 311 echo search $new_domain_name >> /etc/resolv.conf.dhcp 313 echo options ndots:1 >> /etc/resolv.conf.dhcp 317 echo nameserver $nameserver >> /etc/resolv.conf.dhcp 320 echo nameserver 127.0.0.1 >> /etc/resolv.conf.dhcp 323 if [ -f /etc/resolv.conf ]; then 324 if [ "`head -1 /etc/resolv.conf`" != "$idstring" ]; then 332 mv /etc/resolv.conf.dhcp /etc/resolv.con [all...] |
/external/tlsdate/ |
apparmor-profile | 30 /etc/resolv.conf r, 31 /run/resolvconf/resolv.conf r, 91 /etc/resolv.conf r, 92 /run/resolvconf/resolv.conf r, 148 /etc/resolv.conf r,
|
/bionic/libc/dns/resolv/ |
herror.c | 74 #include <resolv.h>
|