Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2014 12:07:57 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Scot Hetzel <swhetzel@gmail.com>, FreeBSD Ports <freebsd-ports@freebsd.org>
Cc:        Matt Smith <fbsd@xtaz.co.uk>
Subject:   Re: Unbound/NSD rc startup order
Message-ID:  <C8B285F72A4A90FB988ED516@atuin.in.mat.cc>
In-Reply-To: <CACdU%2Bf8ECBJr4VrLXhu1%2BKJfnq5=%2BWdFqm8DAZn5S_TUAFxJqw@mail.gmail.com>
References:  <20141211105139.GA1270@xtaz.uk> <20141212075328.GB52267@xtaz.uk> <548AC04A.8000804@bluerosetech.com> <CACdU%2Bf8ECBJr4VrLXhu1%2BKJfnq5=%2BWdFqm8DAZn5S_TUAFxJqw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 12 d=C3=A9cembre 2014 05:00:00 -0600 Scot Hetzel <swhetzel@gmail.com>
wrote:
| On Fri, Dec 12, 2014 at 4:15 AM, Darren Pilgrim
| <list_freebsd@bluerosetech.com> wrote
|> On 12/11/2014 11:53 PM, Matt Smith wrote:
|>>=20
|>> 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.
|>=20
|>=20
|> Unbound requires SERVERS, but nsd requires LOGIN, a much later
|> checkpoint.
|>=20
|> 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.
|>=20
| Would it be better to add:
|=20
|# BEFORE: unbound
|=20
| to the dns/nsd rc.d script?

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

--=20
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C8B285F72A4A90FB988ED516>