No zone reload on monthly dnssec re-signing

hugor

Verified User
Joined
Dec 16, 2019
Messages
8
Hi,

I've enabled DNSSEC on a few zones. The signatures on the zones seems to be valid for 35 days and seem to be renewed on the 1st of every month. However, It seems that the zone is not reloaded in Bind (rndc reload), so it will still serve the old (signed) zonefile (which triggered my monitoring system about the expiring signature on the zone). After a manual "rndc reload <zone.tld>", the new signed zone file has been loaded and the correct zonefile is used.
Obviously DA should take care of reloading the zone data. Can there be some problem on my system preventing this from happening? Or is this a possible bug?

I'm running DA 1.63.0 on Ubuntu 18.04

For now I will schedule a monthly "rndc reload" cronjob to make sure the latest signatures are loaded.

Another thing I noticed is that NSEC is used instead of NSEC3 which exposes dns records. Is this done on purpose? Can this be changed? I'd rather not expose configured records.
 
Hi,

In the mean time I'm able to answer my own question ;) Who knows this may help someone else at some point.

I found out that the zones where not reloading at all after modifying a zone. This was caused by a missing systemd service named.service. After upgrading ubuntu to 18.04, I noticed that the named.service file is redundant because bind9.service also exists. By looking at the DA scripts I thought it would handle bind9.service as well, but apparantly I was wrong.
I've just symlinked named.service to bind9.service and zone files are being reloaded once modified. I'm pretty sure this will resolve my dnssec issues as well.
 
Back
Top