mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 14:26:31 +00:00
remove error log when dns lookup fails
This commit is contained in:
parent
cc2ae28d69
commit
ab9f1e830a
@ -76,7 +76,7 @@ func (pxy *Proxy) Start() {
|
||||
|
||||
ip, err := pxy.resolver.Lookup(pkt.Domain())
|
||||
if err != nil {
|
||||
log.Error("[PROXY] Error while dns lookup: ", pkt.Domain(), " ", err)
|
||||
log.Debug("[PROXY] Error while dns lookup: ", pkt.Domain(), " ", err)
|
||||
conn.Write([]byte(pkt.Version() + " 502 Bad Gateway\r\n\r\n"))
|
||||
conn.Close()
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user