freebsd-skq/etc
Dag-Erling Smørgrav 49cede74ee 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
..
atf
bluetooth
defaults Add a setup script for unbound(8) called local-unbound-setup. It 2013-09-23 04:36:51 +00:00
devd Regenerate after recent addition of FTDI and bluetooth device IDs. 2013-09-01 14:28:12 +00:00
etc.amd64 Remove unneeded mappings from libmap32.conf. Move it up one level and 2013-09-09 06:02:30 +00:00
etc.arm
etc.i386
etc.ia64
etc.mips
etc.pc98
etc.powerpc
etc.sparc64
gss
mail
mtree Fix indentation. 2013-09-22 18:31:49 +00:00
namedb Add empty zones for Shared Address Space (RFC 6598) 2013-08-09 07:57:04 +00:00
pam.d
periodic Fix a typo introduced in r254975. 2013-08-27 22:37:29 +00:00
ppp
rc.d Add a setup script for unbound(8) called local-unbound-setup. It 2013-09-23 04:36:51 +00:00
root
sendmail Minor changes to force commit these files so new freebsd*.cf files are 2013-04-21 17:11:45 +00:00
amd.map
apmd.conf
crontab
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf Comment cosmetics: capitalize SCSI 2013-03-02 18:08:03 +00:00
devfs.conf
dhclient.conf
disktab
fbtab
freebsd-update.conf
ftpusers
gettytab
group Build and install the Unbound caching DNS resolver daemon. 2013-09-15 14:51:23 +00:00
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf Remove CVS from the base system. 2013-06-15 20:29:07 +00:00
libalias.conf
libmap32.conf Remove unneeded mappings from libmap32.conf. Move it up one level and 2013-09-09 06:02:30 +00:00
libmap.conf Include /usr/local/etc/libmap.d/ by default. 2013-08-01 05:50:42 +00:00
login.access
login.conf
mac.conf
Makefile The correct variable is apparently MACHINE_ARCH, not TARGET_ARCH. 2013-09-09 17:38:02 +00:00
man.alias
master.passwd Build and install the Unbound caching DNS resolver daemon. 2013-09-15 14:51:23 +00:00
minfree
motd
netconfig
netstart
network.subr Fix parsing lines of ifconfig output which include \t in the case of 2013-09-17 20:22:24 +00:00
networks
newsyslog.conf Add syslog(3) support to devd(8). 2013-07-01 21:20:17 +00:00
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf
ntp.conf
opieaccess
pccard_ether
pf.os
phones
portsnap.conf Now that stable/7 is EOL, stop building INDEX-7. 2013-03-07 20:48:36 +00:00
printcap
profile
protocols Bring /etc/protocols up to date. 2013-05-10 13:57:44 +00:00
rc Refine the "nojail" rc keyword, adding "nojailvnet" for files that don't 2013-05-19 04:10:34 +00:00
rc.bsdextended
rc.firewall
rc.initdiskless
rc.resume wpa_supplicant should be able to reassociate when resuming, so remove a 2013-07-04 07:32:40 +00:00
rc.sendmail
rc.shutdown Refine the "nojail" rc keyword, adding "nojailvnet" for files that don't 2013-05-19 04:10:34 +00:00
rc.subr Add a setup script for unbound(8) called local-unbound-setup. It 2013-09-23 04:36:51 +00:00
rc.suspend
regdomain.xml
remote
rpc
services
shells
snmpd.config
sysctl.conf
syslog.conf Add syslog(3) support to devd(8). 2013-07-01 21:20:17 +00:00
termcap.small