diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2013-10-18 22:00:39 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2013-10-18 22:00:39 +0100 |
commit | b485ed97aa5726644d71d3a16ccdd058d6a8d73a (patch) | |
tree | d8a8993dc976dbbbe0817105597a9cc8d6f4c335 /src/cache.c | |
parent | 53c4c5c85942d4733f4723531c4d325235448326 (diff) | |
download | dnsmasq-b485ed97aa5726644d71d3a16ccdd058d6a8d73a.tar.gz |
Always answer queries for authoritative zones locally, never forward.
Diffstat (limited to 'src/cache.c')
-rw-r--r-- | src/cache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cache.c b/src/cache.c index 6247cab..d99aba6 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1161,6 +1161,9 @@ void dump_cache(time_t now) daemon->cachesize, cache_live_freed, cache_inserted); my_syslog(LOG_INFO, _("queries forwarded %u, queries answered locally %u"), daemon->queries_forwarded, daemon->local_answer); +#ifdef HAVE_AUTH + my_syslog(LOG_INFO, _("queries for authoritative zones %u"), daemon->auth_answer); +#endif /* sum counts from different records for same server */ for (serv = daemon->servers; serv; serv = serv->next) |