rndc showzone does not work for all zones
Summary
It seems that command rndc showzone
does not work for certain zones, at very least for built-in zones. This is super inconvenient for scripts which iterate over all zones with intent to get and modify configuration of running process.
BIND version used
BIND 9.13.0-dev id:883a9485e9 commit 883a9485 Date: Thu Feb 15 11:56:13 2018 -0800
Steps to reproduce
$ rndc showzone 10.in-addr.arpa.
What is the current bug behavior?
rndc: 'showzone' failed: failure
What is the expected correct behavior?
Ideally equivalent which can be copied into back to config file and does not break anything. (Alternatively a more useful error message.)