mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-06-10 18:00:43 +00:00
14 lines
204 B
Go
14 lines
204 B
Go
package dns
|
|
|
|
import (
|
|
"net"
|
|
|
|
"v2ray.com/core/features"
|
|
)
|
|
|
|
// Client is a V2Ray feature for querying DNS information.
|
|
type Client interface {
|
|
features.Feature
|
|
LookupIP(host string) ([]net.IP, error)
|
|
}
|