Add an option to named-compilezone to retain comments
Description
named-compilezone
strips comments from zone files.
Request
There might be use cases, where named-compilezone
is used as a cleanup tool, while any comments that are present need to be retained.
It would be great if this could be achieved by some command-line option.
Obviously there are some caveats, but it seems that these can be addressed by defining certain conditions that must be met and by properly documenting the right way of working. For example, just as a suggestion: to have any comments on the same line in the zonefile like this:
Undefined (may fail):
; comment 1
www AAAA 2001:db8::1
; comment 2
Well defined (will work):
www AAAA 2001:db8::1 ; comment 1
Links / references
n/a