mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-19 07:05:28 +08:00
debug
This commit is contained in:
@@ -85,6 +85,9 @@ func (h *tcpHandler) Handle(conn net.Conn, target *net.TCPAddr) error {
|
||||
// Alias
|
||||
var localConn = conn
|
||||
|
||||
if h.fakeDNS == nil {
|
||||
log.Warnf("fakedns is nil")
|
||||
}
|
||||
// Lookup fakeDNS host record
|
||||
targetHost, err := lookupHost(h.fakeDNS, target)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user