Nsd ipv6 issues

Hi, I keep having issues with ipv6 in nsd config. First reported here: Update broke mailinabox

Somehow the ipv6 line in nsd.conf breaks nsd. When I remove it, nsd works again. But each day according to schedule, the line is added again. The address that is in nsd.conf is not listed in ifconfig.

Don’t know if it’s normal, but ifconfig lists 9 ipv6 addresses for eth0.

What to do?

ps. i’m at https://github.com/mail-in-a-box/mailinabox/commit/196e42e8b5c883d0b7c806378999343f0130ce17

Did something change? Maybe you’re on a network with dynamic IPv6 addressing? The IP address being put in nsd.conf is PRIVATE_IPV6 in /etc/mailinabox.conf. You can either set it to nothingness or set it to another value that nsd likes.

2 Likes

Alright, but the strange thing is that PRIVATE_IPV6 in /etc/mailinabox.conf is not the one that is added each day in nsd.conf. I’ll try to make it empty, see what happens.

EDIT: my bad, I was looking at the PUBLIC_IPV6. The ip addresses are matching indeed.