conf/184047: No delay feature in unbound startup script like in named

chris scott kraduk at
Mon Nov 18 09:30:02 UTC 2013

>Number:         184047
>Category:       conf
>Synopsis:       No delay feature in unbound startup script like in named
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 18 09:30:02 UTC 2013
>Originator:     chris scott
>Release:        intel 10-beta3
FreeBSD router10 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r258162: Fri Nov 15 10:48:21 UTC 2013     krad at router10:/usr/obj/usr/src/sys/me  amd64
bind has the following config options to stop the rc startup scripts running until the name server is up and running

named_wait="yes"                 # Wait for working name service before exiting
named_wait_host="localhost"     # Hostname to check if named_wait is enabled

The rc script for unbound doesnt have such a feature, therefore on machines where the resolver is localhost, things like ntpd which depend on name resolution can break.

[root at router10 /usr/src]# rcorder /etc/rc.d/*| egrep -n "(unbound|ntp)"

Adding similar delay functionality would be usful

boot a machine with unbound as the name server and localhost specified and the resolver and have a resolution dependent service such as ntpd running
replicating the named_poststart () would be sufficient


More information about the freebsd-bugs mailing list