-.TH RESOLVCONF 8 "9 Nov 2007" "openresolv"
+.TH RESOLVCONF 8 "9 Nov 2007" "openresolv" "openresolv"
.SH NAME
resolvconf \- manage nameserver information
.SH SYNOPSIS
.B resolvconf
is run only by hook scripts attached to network interface configurers
such as
-.BR pppd (8)
+.BR ppp (8)
(for ppp interfaces),
to DHCP clients such as
.BR dhcpcd (8),
-to
-.BR /etc/init.d/net.eth0
-and
+to network configuration scripts and
.BR openvpn ,
and
to DNS caches such as
.PP
The most important piece of
software that subscribes to the notification service is the set of functions
-that make up the GNU C Library
+that make up the C Library
.BR resolver (3).
When nameserver information is updated the script
\fI%%PREFIX%%/etc/resolvconf/update.d/libc\fR writes a new resolver configuration
To make the resolver use the dynamically generated resolver configuration
file the administrator should ensure that \fI/etc/resolv.conf\fR is a symbolic
link to \fI%%PREFIX%%/etc/resolvconf/run/resolv.conf\fR.
-This link is never modified by \fB/sbin/resolvconf\fR.
+This link is never modified by \fBresolvconf\fR.
If you find that \fI/etc/resolv.conf\fR is not being updated,
check to see that the link is intact.
.PP
.BR dnsmasq (8)
and
.BR named (8)
-wwhich handle resolv.conf a bit differently. If they handle search AND domain
+which handle resolv.conf a bit differently. If they handle search AND domain
options then the nameservers listed with the domain are only used when
querying for that domain.
.TP
Example
.nf
# resolv.conf from bge0
-# search foo.com
-# nameserver 1.2.3.4
+search foo.com
+nameserver 1.2.3.4
# resolv.conf from tap0
-# domain bar.org
-# nameserver 5.6.7.8
+domain bar.org
+nameserver 5.6.7.8
.fi
.PP
In this instance, nameserver 5.6.7.8 will only handle requests for bar.org
and nameserver 1.2.3.4 will handle everything else.
.PP
Subscribers that need to know only when the resolver configuration file
-has changed should install a script in \fI/etc/resolvconf/update-libc.d/\fR
+has changed should install a script in \fI%%PREFIX%%/etc/resolvconf/update-libc.d/\fR
rather than in \fI%%PREFIX%%/etc/resolvconf/update.d/\fR.
(This is important for synchronization purposes:
scripts in \fIupdate-libc.d/\fR are run after resolv.conf has been updated;
File to be prepended to the dynamically generated resolver configuration file.
Normally this is just a comment line.
.TP
-.I %%PREFIX%%/etc/resolvconf/reslov.conf.d/tail
+.I %%PREFIX%%/etc/resolvconf/resolv.conf.d/tail
File to be appended to the dynamically generated resolver configuration file.
To append nothing, make this an empty file.
.SH BUGS
.br
Heavily based on Debians resolvconf by Thomas Hood <jdthood_AT_yahoo.co.uk>
.SH COPYRIGHT
-Copyright \(co 2006 Gentoo Foundation
-.br
Copyright \(co 2007 Roy Marples
.SH "SEE ALSO"
.BR resolv.conf (5),