kzonecheck should be able to read from stdin
running knot 2.5.4-2 on debian, i can't get kzonecheck
to read from stdin:
0 dkg@alice:~$ printf '@ 1D SOA a.ns hostmaster 2017092400 1d 1d 1d 1d\n' | kzonecheck -o example.com /dev/stdin
Failed to load the zone file.
1 dkg@alice:~$
even worse, there's a segfault:
0 dkg@alice:~$ kzonecheck -o foo.example /dev/stdin <<<'@ 1D SOA a.ns hostmaster 2017092400 1d 1d 1d 1d\n'
Segmentation fault
139 dkg@alice:~$
it'd be great to have -
mean "stdin" and to have kzonecheck be able to cope with it cleanly.