Append some debug log
This commit is contained in:
parent
ce840f4f50
commit
6e45ca722d
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue