summaryrefslogtreecommitdiffstats
path: root/lib/libc/resolv/res_init.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r289315, r292216vangyzen2015-12-191-2/+20
| | | | | | | | | | | | | | | | | | | | 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. Relnotes: yes Sponsored by: Dell Inc.
* MFC r292250:ngie2015-12-181-1/+3
| | | | | | | | Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" with lib/libc/resolv by conditionalizing its definition Reviewed by: ume, vangyzen Differential Revision: https://reviews.freebsd.org/D4519
* MFC r269867:ume2014-08-301-6/+63
| | | | | | | Update our stub resolver to final version of libbind (libbind-6.0). Obtained from: ISC
* libc: Make various internal file descriptors from fopen() close-on-exec.jilles2013-08-231-1/+1
|
* Merge BIND 9.4.2 into main chunk.ume2007-12-031-17/+24
|
* Merge BIND 9.4.1 into main chunk.ume2007-06-031-12/+14
| | | | MFC after: 2 weeks
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Merge BIND9 9.3.3 into main chunk.ume2006-12-151-12/+5
| | | | | Obtained from: ISC MFC after: 1 week
* _close() should be called instead of close() here.ume2006-08-041-2/+6
|
* - Merge our local changes.ume2006-03-211-8/+79
| | | | - Exclude unnecessary functions for us.
* Vendor import of BIND 9.3.2ume2006-03-211-0/+799
OpenPOWER on IntegriCloud