I am using a certbot DNS plugin to issue Let's Encrypt certificates. Certbot uses dynamic DNS updates to add a TXT
record for verification. Bind creates a .jnl
file for the zone. This TXT
record only exist for 30 seconds then is removed by certbot. When the process is done, everything is supposed to be back to normal.
The side effect is bind is over writing my original zone file (owned by root
) and saving it as owned by named
. Plus the contents of the zone file are completely reformatted in a way i do not like.
Is there anyway to prevent bind from trying to change the original zone file? Any way to tell bind this dynamic update is temporary, hold only in memory or something?
And a side, but not as important, question. How is it bind gives permission denied errors if it can't save the .jnl
file without named
ownership, but it can easily over write a zone file owned by root
?