NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/60339: unbound=YES in rc.conf should be enough to get a recursive resolver



Here is a candidate configuration to use:

server:
	# Maintain root DNSSEC anchors here, relative to the Unbound
	# working directory (default/etc/unbound).
	auto-trust-anchor-file: "root.key"

	# Chroot into /var/chroot/unbound.  (/etc/unbound is a symlink
	# to /var/chroot/unbound/etc/unbound.)
	chroot: "/var/chroot/unbound"

	# Daemonize for running under /etc/rc.
	do-daemonize: yes

	# Write a pidfile to the canonical location for /etc/rc.
	pidfile: "/var/run/unbound.pid"

	# Run unprivileged as _unbound user (and group).
	username: _unbound

	# Log to syslog (facility LOG_DAEMON, identity `unbound').
	use-syslog: yes

remote-control:
	# Enable remote control with unbound-control(8) via local
	# socket.
	control-enable: yes
	control-interface: /var/run/unbound.control



Home | Main Index | Thread Index | Old Index