Bug 226 - unbound-control dump_requestlist
unbound-control dump_requestlist
Product: unbound
Classification: Unclassified
Component: server
All All
: P2 enhancement
Assigned To: unbound team
Depends on:
  Show dependency treegraph
Reported: 2009-01-08 12:37 CET by Mark Zealey
Modified: 2009-02-10 16:11 CET (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Mark Zealey 2009-01-08 12:37:46 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 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.


Comment 1 Wouter Wijngaards 2009-02-10 16:11:57 CET
In current svn trunk it is implemented.
Looks like this:
430  PTR IN 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

Best regards,   Wouter