mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
Fake DNS additional API for fake dns + others and request aware response
This commit is contained in:
parent
3b4920a1e6
commit
1ed32e35a6
@ -10,3 +10,8 @@ type FakeDNSEngine interface {
|
|||||||
GetFakeIPForDomain(domain string) []net.Address
|
GetFakeIPForDomain(domain string) []net.Address
|
||||||
GetDomainFromFakeDNS(ip net.Address) string
|
GetDomainFromFakeDNS(ip net.Address) string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type FakeDNSEngineRev0 interface {
|
||||||
|
IsIPInIPPool(ip net.Address) bool
|
||||||
|
GetFakeIPForDomain3(domain string, IPv4, IPv6 bool) []net.Address
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user