From 6e45ca722d24abaa509b6b25a9063f7c5a6a2f9a Mon Sep 17 00:00:00 2001 From: kenshinx Date: Wed, 4 Feb 2015 14:37:48 +0800 Subject: [PATCH] Append some debug log --- handler.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/handler.go b/handler.go index 91467c3..8585670 100644 --- a/handler.go +++ b/handler.go @@ -112,8 +112,10 @@ func (h *GODNSHandler) do(Net string, w dns.ResponseWriter, req *dns.Msg) { } w.WriteMsg(m) - Debug("%s found in hosts", Q.qname) + Debug("%s found in hosts file", Q.qname) return + } else { + Debug("%s didn't found in hosts file", Q.qname) } }