mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
13 lines
258 B
Go
13 lines
258 B
Go
package dns
|
|
|
|
import (
|
|
"github.com/v2fly/v2ray-core/v4/common/net"
|
|
"github.com/v2fly/v2ray-core/v4/features"
|
|
)
|
|
|
|
type FakeDNSEngine interface {
|
|
features.Feature
|
|
GetFakeIPForDomain(domain string) []net.Address
|
|
GetDomainFromFakeDNS(ip net.Address) string
|
|
}
|