dnscontrol/pkg/bindserial/main.go
Tom Limoncelli 780e17ada9
Linting (#2308)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-05-01 18:40:10 -04:00

12 lines
417 B
Go

package bindserial
// NB(tlim): Yes, its gross to use a global variable for this.
// However there's no cleaner way to do it. Ideally we'd add a way to
// have per-provider flags or settings on the command line. At least
// by isolating it to this file we limit the blast radius of this bad
// decision.
// ForcedValue if non-zero, BIND will generate SOA serial numbers
// using this value.
var ForcedValue int64