mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-15 04:36:19 +08:00
12 lines
421 B
Go
12 lines
421 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.
|
||
|
|
||
|
// ForceBindSerial if non-zero, BIND will generate SOA serial numbers
|
||
|
// using this value.
|
||
|
var ForcedValue int64
|