rndc and stats should respond while zones are loading
Description
Neither RNDC or statistics channels generate responses to requests while primary zones are being loaded after startup.
Versions tested
-
Affects v9.16: It kind of works for RNDC (but not stats channel), assuming there is enough threads.
rndc
blocks mainly whennamed -n1
is used. - Affects v9.18 Same as v9.16.
- Affects v9.19: It does not work at all during first startup. It looks to me like a regression/fallout in recent versions.
Request
I would expect that RNDC and stats channel can be used to monitor progress - e.g. number of zones loaded (and ideally also configured, which would be a new counter).
Reproducer
- Configure a large zone, say
net.
, and start named. - Attempt to run
rndc status
or GET on statistics channels. - Answer is returned only after the zone is loaded (or fails to load).