Debugging a single request¶
TheHTTP module provides/trace endpoint which allows to trace variousaspects of the request execution. The basic mode allows you to resolve a queryand trace verbose logs for it (and messages received):
$ curl https://localhost:8453/trace/e.root-servers.net[8138][iter]'e.root-servers.net.'type'A' created outbound query, parent id0[8138][ rc]=> rank:020, lowest020, e.root-servers.net. A[8138][ rc]=> satisfied from cache[8138][iter] <= answer received:;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id:8138;; Flags: qr aa QUERY:1; ANSWER:0; AUTHORITY:0; ADDITIONAL:0;; QUESTION SECTIONe.root-servers.net. A;; ANSWER SECTIONe.root-servers.net.3556353 A192.203.230.10[8138][iter] <= rcode: NOERROR[8138][resl] finished:4, queries:1, mempool:81952 B
See chapter aboutHTTP module for further instructions how to loadwebmgmtendpoint into HTTP module, it is a prerequisite for using/trace.