Hi All, I have tried searching the mailing lists but did not seem to find the answer to the problem that I am having. If someone can point me in the right direction I will really appreciate it.
Currently I am testing this on OpenBSD 5.0 release. I am trying to use unbound from ports as a recursive caching DNS server. For the most part everything works great and as expected. The daemon's name, unbound, is added to 'pkg_scripts' in /etc/rc.conf.local and starts when the package daemons start. Unfortunately, there are services that start before unbound that require DNS resolution. For example, one such daemon is ntpd. After looking in the 'starting early daemons:' section in /etc/rc I can see that named and nsd are started before ntpd. If named is used as a recursive caching DNS server everything would work as expected. But with nsd that would not be the case since it is an authoritative only server. So, is it possible to start unbound with other early daemons without adding entries to /etc/rc? I know the situation that I have described above can be solved by manually restarting services dependent on the DNS server after unbound is started. But in general, what would be the right approach to address issues like these when the ports package replaces the functionality in base? For example, named functionality is replaced by nsd/unbound combination. Thanks! --peter