Append some debug log

This commit is contained in:
kenshinx 2015-02-04 14:37:48 +08:00
parent ce840f4f50
commit 6e45ca722d
1 changed files with 3 additions and 1 deletions

View File

@ -112,8 +112,10 @@ func (h *GODNSHandler) do(Net string, w dns.ResponseWriter, req *dns.Msg) {
} }
w.WriteMsg(m) w.WriteMsg(m)
Debug("%s found in hosts", Q.qname) Debug("%s found in hosts file", Q.qname)
return return
} else {
Debug("%s didn't found in hosts file", Q.qname)
} }
} }