4 if node unwind.conf; then
9 if node unbound/etc/unbound.conf; then
12 rcctl set unbound timeout 300
13 groupinstall -m 664 -o _unbound:_unbound named.root /var/unbound/db
14 nodeinstall -m 644 -o root:wheel unbound/etc/unbound.conf /var/unbound/etc &&
15 unbound-checkconf && rcctl restart unbound
19 service_unbound_root_hints_update() {
20 groupinstall -m 755 -o root:bin unbound-root-hints-update /usr/local/bin && unbound-root-hints-update
21 crontab -u _unbound - <<-..
25 service_unbound_reload() {
26 if node unbound/etc/unbound.conf; then
27 nodeinstall -m 644 -o root:wheel unbound/etc/unbound.conf /var/unbound/etc &&
28 unbound-checkconf && rcctl reload unbound
32 state_check_unbound() {
36 state_unbound_control_stats() {
37 unbound-control status