Unbound/NSD rc startup order

Mathieu Arnold mat at FreeBSD.org
Fri Dec 12 11:08:04 UTC 2014


+--On 12 décembre 2014 05:00:00 -0600 Scot Hetzel <swhetzel at gmail.com>
wrote:
| On Fri, Dec 12, 2014 at 4:15 AM, Darren Pilgrim
| <list_freebsd at bluerosetech.com> wrote
|> On 12/11/2014 11:53 PM, Matt Smith wrote:
|>> 
|>> Somebody has let me know that I made an obvious mistake in the above. I
|>> meant that the default rcorder is to run Unbound first followed by NSD.
|>> So to clarify I think in the default situation Unbound starts first,
|>> contacts NSD and gets no answer because it hasn't been started yet and
|>> then fails in some way.  Whereas if NSD is running first then Unbound is
|>> happy.
|> 
|> 
|> Unbound requires SERVERS, but nsd requires LOGIN, a much later
|> checkpoint.
|> 
|> The fix would be adding an rcorder override mechanism whereby one could
|> specify additional constraints (like unbound REQUIRE nsd).  If there's
|> interest for this, I can see about a patch.
|> 
| Would it be better to add:
| 
|# BEFORE: unbound
| 
| to the dns/nsd rc.d script?

Well, the thing is, a resolver is required way before an authoritative
server is.

-- 
Mathieu Arnold


More information about the freebsd-ports mailing list