kzonecheck: accept zonefile from standard input
Currently, kzonecheck
ignores standard input. I think that it would be nice to accept it as the zone file when filename is missing or use the -
character for it. Both approaches are heavily used in various Unix utilities.
In other words:
kzonecheck -o "." < root.zone
or kzonecheck -o "." - < root.zone
should behave the same as kzonecheck -o "." root.zone
.
This would make kzonecheck
easier to use in scripts and other programmatic use-cases.
$ kzonecheck --version
kzonecheck (Knot DNS), version 3.0.5