mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
BIND: Enable hermetic zone builds (#2275)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
11
pkg/bindserial/main.go
Normal file
11
pkg/bindserial/main.go
Normal file
@ -0,0 +1,11 @@
|
||||
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.
|
||||
|
||||
// ForceBindSerial if non-zero, BIND will generate SOA serial numbers
|
||||
// using this value.
|
||||
var ForcedValue int64
|
Reference in New Issue
Block a user