Skip to content

cli-dns is incrementing SOA serial number by one when update-zone --overwrite is operating on input with an explicit SOA set #1

@lanstreamer

Description

@lanstreamer

Hi there - I'm not experienced with GO so can't work out where in the code the SOA serial number is getting incremented.

When specifying an explicit serial in a SOA record to update-zone with --overwrite I would expect the serial number of the zone in Fast DNS to end up being what is specified as long as what is specified is greater than the existing serial number.

However - I'm seeing that the SOA serial number in fast DNS is ending up being what was specified +1 which is problematic for my use case.

This might be a sensible default action when no SOA is specified, but when one is it doesn't seem correct to read the serial number and incremement it by one.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions