des b1d537a11d Add a setup script for unbound(8) called local-unbound-setup. It
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)
2013-09-23 04:36:51 +00:00
..
2013-03-17 06:54:04 +00:00
2013-07-10 07:40:30 +00:00
2013-05-12 22:22:12 +00:00
2012-10-07 19:53:04 +00:00
2013-08-22 08:15:03 +00:00
2013-05-10 16:41:26 +00:00
2012-11-20 02:12:01 +00:00
2012-07-13 21:27:18 +00:00
2012-03-26 21:22:53 +00:00
2012-03-26 15:18:14 +00:00
2013-05-12 22:22:12 +00:00
2013-08-23 22:52:20 +00:00
2013-06-05 21:56:29 +00:00
2012-09-01 10:56:15 +00:00
2010-12-20 08:54:30 +00:00
2013-04-11 18:46:41 +00:00
2013-08-06 06:22:54 +00:00
2012-05-17 11:50:12 +00:00
2013-06-29 15:58:03 +00:00
2010-12-20 09:36:54 +00:00
2012-07-04 10:17:02 +00:00
2012-05-12 15:08:22 +00:00
2013-09-11 06:42:55 +00:00
2012-11-18 16:58:08 +00:00
2012-09-11 07:35:24 +00:00
2013-04-11 18:46:41 +00:00
2013-09-07 20:25:22 +00:00
2013-07-07 18:51:44 +00:00
2013-04-22 18:31:39 +00:00
2013-05-13 18:13:50 +00:00
2013-05-12 22:22:12 +00:00
2012-03-26 21:22:53 +00:00
2013-07-04 21:12:58 +00:00
2013-07-15 05:09:13 +00:00