> On 6. Jul 2020, at 06:10, ken.hendrick...@l3harris.com
> <ken.hendrick...@l3harris.com> wrote:
>
> Probably not a bug. But I need help!
> I've read the fine manual(s). Many times.
> I still can't figure it out.
>
> The nsd daemon will not start at boot time.
> It will start and run by hand later.
>
> There is NOTHING in the logs indicating what the failure was.
> In fact, the logs indicate that everything is OK, and nsd did start!
> Jul 5 22:32:32 Soekris2 nsd[51297]: nsd starting (NSD 4.2.4)
> Jul 5 22:32:32 Soekris2 nsd[16350]: zone 10.24.172.in-addr.arpa read with
> success
> Jul 5 22:32:33 Soekris2 nsd[16350]: zone 20.24.172.in-addr.arpa read with
> success
> Jul 5 22:32:33 Soekris2 nsd[16350]: zone 2.168.192.in-addr.arpa read with
> success
> Jul 5 22:32:33 Soekris2 nsd[16350]: zone FakeZone.com read with success
> Jul 5 22:32:33 Soekris2 nsd[16350]: nsd started (NSD 4.2.4), pid 52261
>
> But when I check with ps, or dig, or nslookup, nsd is obviously not running
> and not working.
>
> nsd-checkconf says my nsd.conf file is OK.
> nsd-checkzone says all my zone files are OK.
>
> I have tried putting "rcctl enable nsd" in the /etc/rc.conf.local file.
No, no, you need to run that once, to have flags added and enabled.
Can you show output of /etc/rc.conf.local are flags added?
> That did not help.
>
> I have used nsd-control-setup to generate keys and self-signed certificates,
> and I have turned remote-control on and off.
> Nothing works.
>
> If I try to start nsd the same way the scripts do, I get nsd(failed).
> $ /etc/rc.d/nsd start
> nsd(failed)
What’s the output in /var/log/daemon or /var/log/messages after this?
Can you try to run:
/etc/rc.d/nsd -d start
to see where/why it fails.
> It will start and run by hand later.
> $ nsd -u _nsd -t /var/nsd
> [2020-07-05 23:56:47.489] nsd[54059]: notice: nsd starting (NSD 4.2.4)
>
> Now nsd is resolving names properly. But it wasn't running until starting by
> hand. It failed when the start-up scripts tried to start it.
>
> unbound starts up OK at boot time. But nsd won't.
> Google does not reveal any solution.
>
> The manual pages do not give me the clue I need to get this working.
>
> Any help? Please?
>
> Thanks,
> Ken Hendrickson
>
>
>
>
>
> CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use
> of the intended recipient and may contain material that is proprietary,
> confidential, privileged or otherwise legally protected or restricted under
> applicable government laws. Any review, disclosure, distributing or other use
> without expressed permission of the sender is strictly prohibited. If you are
> not the intended recipient, please contact the sender and delete all copies
> without reading, printing, or saving.
>
>