freebsd-dev/share/man
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
..
man1 Add META_MODE support. 2015-06-13 19:20:56 +00:00
man3 Make the system queue header file fully usable within C++ programs by 2015-06-28 21:06:45 +00:00
man4 Fix date. 2015-10-14 05:16:56 +00:00
man5 resolver: automatically reload /etc/resolv.conf 2015-10-14 14:26:44 +00:00
man6 Add META_MODE support. 2015-06-13 19:20:56 +00:00
man7 /usr/src/games was removed in r288485. 2015-10-02 17:51:47 +00:00
man8 It's 2015, and some people are still trying to use fdisk and then 2015-09-02 14:08:43 +00:00
man9 Remove MLINKS to more non-existent mbuf(9) macros 2015-09-27 04:55:43 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00