Hello Xie,
at the moment we do not have equivalent of "rndc dumpdb".
In case you know exactly what value you want to see, you can use command
$ kdig @resolver +nord name.you.know.example. TYPEyouknow
and dig will get value stored in the cache.
See
https://knot-resolver.readthedocs.io/en/latest/daemon.html?highlight=cache.…
for description how to flush specific data from cache.
I hope it helps.
Petr Špaček @ CZ.NIC
On 05. 03. 19 3:51, Champion Xie wrote:
Knot-resolver Is there a tool like BIND rndc dumpdb?
I want to see the specific cached domain name entry
kresc> stats.list()
[answer.nxdomain] => 0
[answer.100ms] => 0
[answer.1500ms] => 0
[answer.slow] => 0
[answer.servfail] => 0
[answer.250ms] => 0
*[answer.cached] => 622*
[answer.nodata] => 0
[query.dnssec] => 1
[answer.1ms] => 34
[predict.epoch] => 19
[query.edns] => 624
[predict.queue] => 0
[answer.total] => 624
[answer.10ms] => 498
[answer.noerror] => 624
[answer.50ms] => 92
[answer.500ms] => 0
[answer.1000ms] => 0
[predict.learned] => 1
--
Best Regards!!
champion_xie