g_stats.nonCompliantQueries++;
continue;
}
+
+ if (dh->rd) {
+ g_stats.rdQueries++;
+ }
const uint16_t * flags = getFlagsFromDNSHeader(dh);
const uint16_t origFlags = *flags;
stat_t servfailResponses{0};
stat_t queries{0};
stat_t nonCompliantQueries{0};
+ stat_t rdQueries{0};
stat_t aclDrops{0};
stat_t blockFilter{0};
stat_t dynBlocked{0};
{"uptime", uptimeOfProcess},
{"real-memory-usage", getRealMemoryUsage},
{"noncompliant-queries", &nonCompliantQueries},
+ {"rdqueries", &rdQueries},
{"cpu-user-msec", getCPUTimeUser},
{"cpu-sys-msec", getCPUTimeSystem},
{"fd-usage", getOpenFileDescriptors}, {"dyn-blocked", &dynBlocked},