mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-08 02:00:43 +08:00
remove dns log
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
package fakedns
|
package fakedns
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/xjasonlyu/tun2socks/log"
|
|
||||||
"net"
|
"net"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@@ -51,7 +50,6 @@ func resolve(hosts *trie.Trie, pool *fakeip.Pool, r *D.Msg) (msg *D.Msg) {
|
|||||||
|
|
||||||
q := r.Question[0]
|
q := r.Question[0]
|
||||||
if q.Qtype != D.TypeA || q.Qclass != D.ClassINET {
|
if q.Qtype != D.TypeA || q.Qclass != D.ClassINET {
|
||||||
log.Warnf("DNS: %v", q.String())
|
|
||||||
return dnsExchange(r)
|
return dnsExchange(r)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user