Project

General

Profile

Actions

Bug #10693

open

pfSense Bind Zone Editor UI does not update zone serial number when a change is made

Added by Jeffrey Altman over 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
BIND
Target version:
-
Start date:
06/23/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4.5-p1
Affected Plus Version:
Affected Architecture:

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

Actions #1

Updated by Viktor Gurov over 3 years ago

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

Actions #2

Updated by Jeffrey Altman over 3 years ago

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.

Actions #3

Updated by Andrzej Milewski over 2 years ago

I have BIND version 9.16-11 package and pfSense version 2.5.2. Serial number not changing on Save zone.

Actions #4

Updated by Gabriel Millerd over 1 year ago

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.

Actions

Also available in: Atom PDF