Shows the top-20 most active downstream timeout destinations.
Statistics are over the last 'stats-ringbuffer-entries' queries.
-trace-regex *REGEX*
- Emit resolution trace for matching queries. Empty regex to disable trace.
+trace-regex *REGEX* *FILE*
+ Emit resolution trace for matching queries. No arguments disables tracing.
+ Before version 4.9.0, there was no *FILE* argument, traces were always
+ written to the log. Starting with version 4.9.0, trace information is
+ written to the file specified, which may be ``-`` for the standard out
+ stream.
Queries matching this regular expression will generate voluminous tracing
output. Be aware that matches from the packet cache will still not generate
}
#endif // HAVE_FSTRM
-const char* timestamp(const struct timeval& tv, char* buf, size_t sz);
-
static void dumpTrace(const string& trace, const timeval& timev)
{
if (trace.empty()) {
"set-carbon-server set a carbon server for telemetry\n"
"set-dnssec-log-bogus SETTING enable (SETTING=yes) or disable (SETTING=no) logging of DNSSEC validation failures\n"
"set-event-trace-enabled SETTING set logging of event trace messages, 0 = disabled, 1 = protobuf, 2 = log file, 3 = both\n"
- "trace-regex [regex] emit resolution trace for matching queries (empty regex to clear trace)\n"
+ "trace-regex [regex file] emit resolution trace for matching queries (no arguments clears tracing)\n"
"top-largeanswer-remotes show top remotes receiving large answers\n"
"top-queries show top queries\n"
"top-pub-queries show top queries grouped by public suffix list\n"
uint64_t* pleaseGetPacketCacheSize();
void doCarbonDump(void*);
bool primeHints(time_t now = time(nullptr));
+const char* timestamp(const struct timeval& tv, char* buf, size_t sz);
struct WipeCacheResult
{