1
0
Fork 0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-01-12 21:53:33 +02:00
Xray-core/features/dns/fakedns.go

18 lines
327 B
Go
Raw Normal View History

package dns
import (
gonet "net"
"github.com/xtls/xray-core/common/net"
"github.com/xtls/xray-core/features"
)
type FakeDNSEngine interface {
features.Feature
GetFakeIPForDomain(domain string) []net.Address
GetDomainFromFakeDNS(ip net.Address) string
GetFakeIPRange() *gonet.IPNet
}
var FakeIPPool = "198.18.0.0/16"