diff options
author | Joern Engel <joern@logfs.org> | 2012-05-04 11:17:49 -0700 |
---|---|---|
committer | Joern Engel <joern@logfs.org> | 2012-05-04 11:17:49 -0700 |
commit | 54c6b7459fd1492db140b245149fc53f3f416a2b (patch) | |
tree | 4b20fe98c4eef2b47fcdd7133148053c492d579c | |
parent | e815d5623985abab7c23f77c43f0e0a3e93b489d (diff) | |
download | cancd-54c6b7459fd1492db140b245149fc53f3f416a2b.tar.gz |
Syslog on dns resolver
When having to deal with b0rken reverse DNS and trying to figure out
what machine happens to be called FOO by reverse DNS, while no machine
FOO exists in forward DNS, a small amount of paper trail might be
useful. The format isn't as nice as it could be.
Signed-off-by: Joern Engel <joern@logfs.org>
-rw-r--r-- | cancd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -699,6 +699,7 @@ static void dns_visitor(void *_sip, long unused, u32 ip, size_t unused2) old = sip->filename; sip->filename = new; free((void *)old); + syslog(LOG_INFO, "resolved %08x to %s", ip, sip->filename); } void *dns_thread_func(void *_arg) |