kzonecheck should optionally warn for the use of implicit labels
An "implicit label" in a zonefile is where the first value (the label) of a record is omitted, and it inherits from the previous record. Maybe there's a better name for that that i'm unaware of.
Implicit labels are a potential footgun, because reordering of the zonefile is likely to cause them to be remapped.
I was recently burned by making this mistake.
It would be great if i could ask kzonecheck to warn me when there are any implicit labels in a zonefile, for example, by adding a --strict
option, or a --no-implicit-labels
option, or perhaps just by emitting a warning when placed in --verbose
mode.