From 6f46b822d4aada792cc3d9e4ea758226e64cabff Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Thu, 23 Feb 2023 20:26:25 +0800 Subject: [PATCH] chore: change internal tcp traffic type --- adapter/inbound/socket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/inbound/socket.go b/adapter/inbound/socket.go index 590f64d7..4024ee42 100644 --- a/adapter/inbound/socket.go +++ b/adapter/inbound/socket.go @@ -34,7 +34,7 @@ func NewInner(conn net.Conn, dst string, host string) *context.ConnContext { metadata := &C.Metadata{} metadata.NetWork = C.TCP metadata.Type = C.INNER - metadata.DNSMode = C.DNSMapping + metadata.DNSMode = C.DNSNormal metadata.Host = host metadata.Process = C.ClashName if h, port, err := net.SplitHostPort(dst); err == nil {