freebsd-dev/share/man/man5
Eric van Gyzen 60b27ebb25 resolver: automatically reload /etc/resolv.conf
On each resolver query, use stat(2) to see if the modification time
of /etc/resolv.conf has changed.  If so, reload the file and reinitialize
the resolver library.  However, only call stat(2) if at least two seconds
have passed since the last call to stat(2), since calling it on every
query could kill performance.

This new behavior is enabled by default.  Add a "reload-period" option
to disable it or change the period of the test.

Document this behavior and option in resolv.conf(5).

Polish the man page just enough to appease igor.

https://lists.freebsd.org/pipermail/freebsd-arch/2015-October/017342.html

Reviewed by:	kp, wblock
Discussed with:	jilles, imp, alfred
MFC after:	1 month
Relnotes:	yes
Sponsored by:	Dell Inc.
Differential Revision:	https://reviews.freebsd.org/D3867
2015-10-14 14:26:44 +00:00
..
a.out.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
acct.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
ar.5 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
autofs.5 Update the autofs(5) manual to reflect it first appeared in 2014-09-03 17:15:12 +00:00
bluetooth.device.conf.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
bluetooth.hosts.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
bluetooth.protocols.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
boot.config.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
core.5 Fix core corruption caused by race in note_procstat_vmmap 2015-10-06 18:07:00 +00:00
devfs.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
devfs.conf.5 Replace references to /dev/acd0 with /dev/cd0 2015-10-13 17:14:27 +00:00
devfs.rules.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
device.hints.5 Document the fact that tunables can be set in device.hints. 2015-07-23 17:27:10 +00:00
dir.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
disktab.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
elf.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
ethers.5
eui64.5
ext2fs.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
fbtab.5
fdescfs.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
forward.5
freebsd-update.conf.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
fs.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
fstab.5 Allow to disable BIO_DELETE passthru in fstab for swap-on-geli devices by 2015-08-08 09:57:38 +00:00
group.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
hesiod.conf.5
hosts.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
hosts.equiv.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
hosts.lpd.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
intro.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
libmap.conf.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
link.5
linprocfs.5
linsysfs.5
mailer.conf.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
make.conf.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
Makefile Document src-env.conf and note its use for MAKEOBJDIRPREFIX and WITH_META_MDOE. 2015-09-17 17:45:20 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
moduli.5 Import an updated version of moduli(5) manual page from OpenBSD. 2012-07-20 01:11:53 +00:00
motd.5
mqueuefs.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
msdosfs.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
nandfs.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
networks.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
nsmb.conf.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
nsswitch.conf.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
nullfs.5 Fix a rendering issue in the nullfs(5) manual page. 2015-02-10 18:49:13 +00:00
passwd.5 Correct the document date for last change. 2014-06-05 01:58:21 +00:00
pbm.5
periodic.conf.5 Allow additional flags to be passed to netstat -i in the daily status check. 2015-03-27 00:37:41 +00:00
pf.conf.5 pf: Remove support for 'scrub fragment crop|drop-ovl' 2015-08-27 21:27:47 +00:00
pf.os.5 Various mdoc fixes. 2014-12-21 12:13:49 +00:00
phones.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
portindex.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
portsnap.conf.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
procfs.5 Update description of process status output. 2013-04-22 20:14:57 +00:00
protocols.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
quota.user.5 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
rc.conf.5 Document iSCSI and autofs(5) variables in rc.conf(5). 2015-10-09 08:13:59 +00:00
rctl.conf.5
regdomain.5
reiserfs.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
remote.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
resolver.5 resolver: automatically reload /etc/resolv.conf 2015-10-14 14:26:44 +00:00
services.5 Various mdoc fixes. 2014-12-21 12:13:49 +00:00
shells.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
src.conf.5 Regenerate 2015-09-18 22:26:25 +00:00
stab.5 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
style.Makefile.5 mdoc: Remove tabs in non-literal context. 2012-03-26 16:40:45 +00:00
sysctl.conf.5
tmpfs.5 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00