Home
last modified time | relevance | path

Searched refs:resolv (Results 1 – 25 of 29) sorted by relevance

12

/dragonfly/contrib/openresolv/
HDREADME.md4 implementation which manages `/etc/resolv.conf`.
6 `/etc/resolv.conf` is a file that holds the configuration for the local
17 `/etc/resolv.conf`.
19 `resolv.conf` generated for the interface. It then calls all the helper scripts
20 it knows about so it can configure the real `/etc/resolv.conf` and optionally
39 Take the following resolv.conf files which have been generated by a
43 # resolv.conf from bge0
47 # resolv.conf from tap0
66 If openresolv updates `/etc/resolv.conf` it can notify the following of this:
HDlibc.in89 if [ -f "$SYSCONFDIR"/resolv.conf.d/head ]; then
92 if [ -f "$SYSCONFDIR"/resolv.conf.d/tail ]; then
96 : ${resolv_conf:=/etc/resolv.conf}
100 if [ "${resolv_conf_head-x}" = x ] && [ -f "$SYSCONFDIR"/resolv.conf.head ]
104 if [ "${resolv_conf_tail-x}" = x ] && [ -f "$SYSCONFDIR"/resolv.conf.tail ]
HDresolvconf.conf4 resolv_conf=/etc/resolv.conf
HDresolvconf.in91 (DNS supplied via stdin in resolv.conf format)
913 resolv="$(cat)"
918 if [ "$(echo "$resolv")" != \
1007 printf "%s\n" "$resolv" >"$IFACEDIR/$iface" || exit $?
/dragonfly/contrib/dhcpcd/hooks/
HD20-resolv.conf61 if [ -f /etc/resolv.conf.head ]; then
62 cat /etc/resolv.conf.head >> "$cf"
67 if [ -f /etc/resolv.conf.tail ]; then
68 cat /etc/resolv.conf.tail >> "$cf"
72 if change_file /etc/resolv.conf "$cf"; then
73 chmod 644 /etc/resolv.conf
/dragonfly/etc/rc.d/
HDdiskless132 if [ ! -e /etc/resolv.conf ]; then
133 echo domain `/usr/bin/kenv dhcp.domain-name` > /etc/resolv.conf
137 echo nameserver $ns >> /etc/resolv.conf;
/dragonfly/test/vkernel/
HDMakefile155 echo 'search dragonflybsd.org backplane.com' > ${VKDIR}/root/etc/resolv.conf
156 echo 'nameserver 10.0.0.25' >> ${VKDIR}/root/etc/resolv.conf
157 echo 'nameserver 10.0.0.2' >> ${VKDIR}/root/etc/resolv.conf
158 echo 'nameserver 8.8.8.8' >> ${VKDIR}/root/etc/resolv.conf
/dragonfly/lib/libc/resolv/
HDMakefile.inc1 .PATH: ${.CURDIR}/../libc/resolv
7 CMAPS+= ${.CURDIR}/resolv/Symbol.map
/dragonfly/usr.sbin/ppp/
HDipcp.c179 if (ipcp->ns.resolv != NULL) { in ipcp_LoadDNS()
180 free(ipcp->ns.resolv); in ipcp_LoadDNS()
181 ipcp->ns.resolv = NULL; in ipcp_LoadDNS()
198 else if ((ipcp->ns.resolv = (char *)malloc(st.st_size + 1)) == NULL) { in ipcp_LoadDNS()
203 } else if ((got = read(fd, ipcp->ns.resolv, st.st_size)) != st.st_size) { in ipcp_LoadDNS()
213 free(ipcp->ns.resolv); in ipcp_LoadDNS()
214 ipcp->ns.resolv = NULL; in ipcp_LoadDNS()
219 ipcp->ns.resolv[st.st_size] = '\0'; in ipcp_LoadDNS()
223 cp = ipcp->ns.resolv; in ipcp_LoadDNS()
326 len = strlen(ipcp->ns.resolv); in ipcp_RestoreDNS()
[all …]
HDipcp.h82 char *resolv; /* Contents of resolv.conf */ member
HDppp.8.m4501 .Pa /etc/resolv.conf .
503 .Xr resolv.conf 5
510 .Pa /etc/resolv.conf
515 .Dq resolv
2233 .Dq resolv readonly
2235 .Dq resolv restore
2241 .Pa /etc/resolv.conf .
2704 .Pa /etc/resolv.conf .
2706 .Pa /etc/resolv.conf
2715 .Pa /etc/resolv.conf
[all …]
HDREADME.changes72 /etc/resolv.conf.
/dragonfly/share/examples/diskless/
HDREADME.TEMPLATING50 For example, /etc/resolv.conf would be turned into a softlink to
51 /conf/ME/resolv.conf, and /conf/ME itself would be a softlink to
52 /conf/<HOSTNAME>. The actual resolv.conf configuration file
57 same /etc/resolv.conf. The solution is to make
58 /conf/<HOSTNAME>/resolv.conf a softlink to a common directory, say
59 /conf/HT.SHELL/resolv.conf. It may sound a little messy, but this
149 /etc/resolv.conf
HDME33 /etc/motd, /etc/resolv.conf, and possibly even /etc/ttys ( if you want
42 shell machines may use one resolv.conf while all of your mail proxies may
/dragonfly/share/man/man5/
HDMakefile77 MLINKS+=resolver.5 resolv.conf.5
/dragonfly/lib/libc_rtld/
HDMakefile8 CFLAGS+=-I${.CURDIR}/../libc/resolv
/dragonfly/test/stress/stress2/misc/
HDldt2.sh62 cp /etc/fstab /etc/hosts /etc/resolv.conf $jail/etc
/dragonfly/sbin/dhcpcd/
HDMakefile83 FILES= 01-test 20-resolv.conf 30-hostname
/dragonfly/lib/libc/net/
HDMakefile.inc26 CFLAGS+=-DINET6 -I${.OBJDIR} -I${.CURDIR}/../libc/resolv
/dragonfly/nrelease/
HDMakefile272 cp /etc/resolv.conf ${ISOROOT}/etc
336 rm -f ${ISOROOT}/etc/resolv.conf
/dragonfly/tools/snapshots/
HDdoclean201 cp /etc/resolv.conf $build/root/etc/
/dragonfly/contrib/tcp_wrappers/
HDREADME.IRIX42 to change the name service lookup order in /etc/resolv.conf so that
/dragonfly/crypto/openssh/
HDconfigure.ac1196 AC_CHECK_LIB([resolv], [res_query], [ LIBS="$LIBS -lresolv" ])
1335 for header in netinet/ip.h netdb.h resolv.h; do
1522 [], [ AC_CHECK_LIB([resolv], [strcasecmp], [LIBS="$LIBS -lresolv"]) ]
1542 AC_SEARCH_LIBS([inet_ntop], [resolv nsl])
1543 AC_SEARCH_LIBS([gethostbyname], [resolv nsl])
4398 [Define if we don't have struct __res_state in resolv.h])],
4406 #include <resolv.h>
4633 AC_SEARCH_LIBS([getrrsetbyname], [resolv],
4638 AC_SEARCH_LIBS([res_query], [resolv])
4639 AC_SEARCH_LIBS([dn_expand], [resolv])
[all …]
/dragonfly/include/
HDMakefile22 re_comp.h resolv.h res_update.h runetype.h \
/dragonfly/share/examples/ppp/
HDppp.conf.sample70 # by the other side, but if it is, ppp will update /etc/resolv.conf with
151 enable dns # Ask the peer what to put in resolv.conf
228 # If you don't want to tell them what's in your /etc/resolv.conf file

12