Home
last modified time | relevance | path

Searched refs:resolv_conf (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/openresolv/
H A Dlibc.in96 : ${resolv_conf:=/etc/resolv.conf}
209 if [ -e "$resolv_conf" ]; then
210 [ "$(cat "$resolv_conf")" = "$(printf %s "$newconf")" ] && exit 0
218 if [ -e "$resolv_conf.bak" ]; then
219 newconf="$(cat "$resolv_conf.bak")$NL"
221 elif [ -e "$resolv_conf" ]; then
222 read line <"$resolv_conf"
224 cp "$resolv_conf" "$resolv_conf.bak"
230 (umask 022; echo "$newconf" >"$resolv_conf")
H A Dresolvconf.conf4 resolv_conf=/etc/resolv.conf
/freebsd/usr.sbin/unbound/setup/
H A Dlocal-unbound-setup.sh48 resolv_conf=""
89 : ${resolv_conf:=/etc/resolv.conf}
380 resolv_conf="$OPTARG"
413 if [ -f "${D}${resolv_conf}" ] ; then
414 echo "Extracting forwarders from ${resolv_conf}."
415 forwarders=$(get_nameservers <"${D}${resolv_conf}")
492 local tmp_resolv_conf=$(tmp "${resolv_conf}")
493 gen_resolv_conf <"${D}${resolv_conf}" | unexpand >"${tmp_resolv_conf}"
494 replace "${resolv_conf}" "${tmp_resolv_conf}"
/freebsd/contrib/ntp/sntp/libevent/sample/
H A Ddns-example.c158 const char *resolv_conf; in main() member
180 case 'c': o.resolv_conf = optarg; break; in main()
218 if (o.resolv_conf == NULL && !o.ns) in main()
226 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()
/freebsd/contrib/libevent/sample/
H A Ddns-example.c158 const char *resolv_conf; in main() member
180 case 'c': o.resolv_conf = optarg; break; in main()
218 if (o.resolv_conf == NULL && !o.ns) in main()
226 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()