Nsd-control & ipv6 only

Hello,

some days ago I added "do-ip4: no" to my nsd.conf.
Now I noticed messages from cron "error: connect (127.0.0.1@8952): Connection refused"

Looks like nsd also no longer listen for control connection on ipv4 /which is OK for me)
but nsd-control ignore the setting.

I added an explicit statement "control-interface: ::1" to nsd.conf and everything is fine again.
Shouldn't nsd-control also have a look on "do-ip4: no" and not try to connect 127.0.0.1?

Andreas

Hi Andreas,

Hello,

some days ago I added "do-ip4: no" to my nsd.conf.
Now I noticed messages from cron "error: connect (127.0.0.1@8952): Connection refused"

Looks like nsd also no longer listen for control connection on ipv4 /which is OK for me)
but nsd-control ignore the setting.

I added an explicit statement "control-interface: ::1" to nsd.conf and everything is fine again.
Shouldn't nsd-control also have a look on "do-ip4: no" and not try to connect 127.0.0.1?

Yes it should, fixed nsd-control to use ::1 if do-ip4 is "no" (also in
unbound-control, that has the same flaw).

Best regards, Wouter