Bug #10693
open
pfSense Bind Zone Editor UI does not update zone serial number when a change is made
Added by Jeffrey Altman over 4 years ago.
Updated over 2 years ago.
Affected Version:
2.4.5-p1
Description
/pkg_edit.php?xml=bind_zones.xml&act=edit&id=0
populates the "Serial" field with the serial number of the current zone file.
When a change is made and "Save" is executed, this serial number is preserved.
As a result, secondary servers do not recognize that a change has occurred.
When the "Save" action is executed, if a change has been made to the page,
the "Serial" field should be treated as if it is unset, permitted a new
serial number to be generated.
The broken behavior is observed with Bind package 9.14_4
The broken behavior is observed with Bind package 9.14_4
did it work differently before?
you need to manually change the serial number every time you make any changes
Viktor Gurov wrote:
The broken behavior is observed with Bind package 9.14_4
did it work differently before?
I have no idea. I've just started using Bind on pfSense
you need to manually change the serial number every time you make any changes
I've noticed that. And that behavior in my opinion is wrong because it can all too easily result in an end user making a change and that change not being propagated to the secondary servers or replace any cached copies of data on the internet.
I have BIND version 9.16-11 package and pfSense version 2.5.2. Serial number not changing on Save zone.
Andrzej Milewski wrote in #note-3:
I have BIND version 9.16-11 package and pfSense version 2.5.2. Serial number not changing on Save zone.
It will increment if you clear/blank the "Master Zone Configuration -> Serial Number" field, then save. Which is a chore, but it works.
Ideally there should be a checkbox boolean that says "auto increment" and does just that, setting the Serial time the epoch.
I use a tampermonkey script to do this for me.
Also available in: Atom
PDF