DNSSEC auto signing and file handling

binddnssecnamed-conf

I would like to know how files are handled in a auto-dnssec environment.

My current setup (non-DNSSEC) places the zones files in /var/named/data. These files are then read by the bind server.

If I enable auto signing, will the zones files change? Or will bind just keep the signed zones internally? If the former thing happens, Puppet might not be a good idea to deploy dns zones anymore.

Best Answer

EDIT: The previous version of this Answer was backwards-wrong.

If I enable auto-signing, will the zones files change?

Yes. BIND will update the file you specify in the configuration "dynamic" style. This means the whole file generally gets rewritten, losing any "$INCLUDE" directives, converting to "standard" formatting, etc.

With manually signing files, the original zone files do not change. You can not use Dynamic Updates with manually signed files, so there's a trade-off. Generally you either maintain the original zone file by hand and use manual signing, or you use nsupdate to maintain the original file and let BIND auto-sign the zone. Side note: last I looked BIND couldn't auto-gen ZSK keys, so you still have to manually rotate those (or script the process).

Related Topic