Implement resolve(server)

This commit is contained in:
世界
2025-01-02 15:21:52 +08:00
parent 7686503df8
commit 5a1c59ca88
3 changed files with 65 additions and 44 deletions
+8 -6
View File
@@ -50,12 +50,14 @@ type InboundContext struct {
// Deprecated
InboundOptions option.InboundOptions
UDPDisableDomainUnmapping bool
DestinationAddresses []netip.Addr
SourceGeoIPCode string
GeoIPCode string
ProcessInfo *process.Info
QueryType uint16
FakeIP bool
DNSServer string
DestinationAddresses []netip.Addr
SourceGeoIPCode string
GeoIPCode string
ProcessInfo *process.Info
QueryType uint16
FakeIP bool
// rule cache