mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
Rename internal dns protocol
This commit is contained in:
parent
4736d3b844
commit
63229aff82
@ -203,7 +203,7 @@ func (s *TCPNameServer) sendQuery(ctx context.Context, domain string, clientIP n
|
||||
}
|
||||
|
||||
dnsCtx = session.ContextWithContent(dnsCtx, &session.Content{
|
||||
Protocol: "dns",
|
||||
Protocol: "v2ray.dns",
|
||||
SkipDNSResolve: true,
|
||||
})
|
||||
|
||||
|
@ -199,7 +199,7 @@ func (s *ClassicNameServer) sendQuery(ctx context.Context, domain string, client
|
||||
udpCtx = session.ContextWithInbound(udpCtx, inbound)
|
||||
}
|
||||
udpCtx = session.ContextWithContent(udpCtx, &session.Content{
|
||||
Protocol: "dns",
|
||||
Protocol: "v2ray.dns",
|
||||
})
|
||||
s.udpServer.Dispatch(udpCtx, s.address, b)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user