History log of /freebsd-11.0-release/etc/rc.d/local_unbound
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 298514 23-Apr-2016 lme

- Add descriptions to most of the rc scripts. Those are mostly taken from their
daemon's manpage and probably improved.
- Consistently use "filesystem" not "file system".

Approved by: bapt, brueffer
Differential Revision: D452


# 291582 01-Dec-2015 des

Load our configuration before setting defaults, so local_unbound_workdir
actually has an effect.

PR: 204931
Submitted by: Eugene Grosbein <eugen@grosbein.net>
MFC after: 1 week


# 289592 19-Oct-2015 des

After starting Unbound, wait for up to five seconds until unbound-control
indicates that it is up and running.

PR: 184047
MFC after: 3 weeks


# 283301 22-May-2015 peter

Adjust default argument construction for -c to be getopt compliant for
consistency, even though unbound understood it.


# 278704 13-Feb-2015 ngie

Unbreak rcorder when MK_UNBOUND == no by moving local_unbound from REQUIRE:
in NETWORKING to BEFORE: in the script

MFC after: 2 weeks


# 277706 25-Jan-2015 des

Allow the user to specify the location of control.conf.


# 271262 08-Sep-2014 des

Revert r271257 after several issues were pointed out. An updated patch
will be committed at a later date.


# 271257 08-Sep-2014 des

Use the correct idiom for default values, and ensure that the script
works correctly if the user overrides them.

PR: 193255
Submitted by: hrs@
MFC after: 3 days


# 255825 23-Sep-2013 des

Move local_unbound up in the rc order.

Approved by: re (blanket)


# 255809 23-Sep-2013 des

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)