Menu

#5444 BIND: don't auto increment serial by default if it was disabled

1.970
closed-fixed
nobody
None
5
2021-01-20
2021-01-18
mpam
No

In the BIND module, whenever you edit a zone records file, the "Increase serial number automatically" checkbox is checked by default. This is the case even if you unchecked it before and even if you configure "Automatically update serial numbers" to "No" in the BIND module configuration.
I would expect this box to be unchecked by default if "Automatically update serial numbers" is set to "No".

This is a problem notably because when the serial gets automatically updated, comments placed in its area disappear, and durations expressed with letters get turned into numbers (like, "5m" becomes "300") (might be other small bugs as well?).

For instance this:

(
            42 ; serial
            3h ; secondary refresh
            3m ; secondary retry
            2w ; secondary expire
            5m ; default record cache time
            )

turns into that:

(42 10800 180 1209600 300)

Discussion

  • Jamie Cameron

    Jamie Cameron - 2021-01-20
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2021-01-20

    Good idea .. we'll make that option respect the global config.

     

Log in to post a comment.