Bugzilla – Bug 226
Last modified: 2009-02-10 16:11:57 CET
It would be really useful to be able to see a snapshot of the contents of the requestlist. It doesn't have to be coherent, but in order to debug what requests are taking a long time, it would be useful to have a command like unbound-control dump_requestlist which provides a list of requests, the time they have been in the list and what their status currently is eg:
# unbound-control dump_requestlist
User query type/domain secs current status
A? fred.wilma.com. 50.6 waiting for response from 18.104.22.168 for NS? wilma.com.
I'm not sure how the requestlists are structured internally so it may be that there need to be multiple commands, one for the inbound requests and one for the outbound requests, however I think the above would summarize both pretty well.
In current svn trunk it is implemented.
Looks like this:
430 PTR IN 22.214.171.124.in-addr.arpa. 13.338777 iterator wants A IN ns.ikomline.net. A IN ns2.zrlocal.net. AAAA IN ns.ikomline.net. AAAA IN ns2.zrlocal.net.
431 MX IN www.intel.com. 13.338777 iterator wait for 126.96.36.199
Best regards, Wouter