summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/local_unbound
Commit message (Collapse)AuthorAgeFilesLines
* After starting Unbound, wait for up to five seconds until unbound-controldes2015-10-191-0/+21
| | | | | | | indicates that it is up and running. PR: 184047 MFC after: 3 weeks
* Adjust default argument construction for -c to be getopt compliant forpeter2015-05-221-1/+1
| | | | consistency, even though unbound understood it.
* Unbreak rcorder when MK_UNBOUND == no by moving local_unbound from REQUIRE:ngie2015-02-131-0/+1
| | | | | | in NETWORKING to BEFORE: in the script MFC after: 2 weeks
* Allow the user to specify the location of control.conf.des2015-01-251-0/+2
|
* Revert r271257 after several issues were pointed out. An updated patchdes2014-09-081-6/+14
| | | | will be committed at a later date.
* Use the correct idiom for default values, and ensure that the scriptdes2014-09-081-14/+6
| | | | | | | | works correctly if the user overrides them. PR: 193255 Submitted by: hrs@ MFC after: 3 days
* Move local_unbound up in the rc order.des2013-09-231-1/+1
| | | | Approved by: re (blanket)
* Add a setup script for unbound(8) called local-unbound-setup. Itdes2013-09-231-0/+91
generates a configuration suitable for running unbound as a caching forwarding resolver, and configures resolvconf(8) to update unbound's list of forwarders in addition to /etc/resolv.conf. The initial list is taken from the existing resolv.conf, which is rewritten to point to localhost. Alternatively, a list of forwarders can be provided on the command line. To assist this script, add an rc.subr command called "enabled" which does nothing except return 0 if the service is enabled and 1 if it is not, without going through the usual checks. We should consider doing the same for "status", which is currently pointless. Add an rc script for unbound, called local_unbound. If there is no configuration file, the rc script runs local-unbound-setup to generate one. Note that these scripts place the unbound configuration files in /var/unbound rather than /etc/unbound. This is necessary so that unbound can reload its configuration while chrooted. We should probably provide symlinks in /etc. Approved by: re (blanket)
OpenPOWER on IntegriCloud