mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-04 17:27:23 -05:00
17 lines
196 B
Go
17 lines
196 B
Go
package dns
|
|
|
|
import (
|
|
"net"
|
|
|
|
"v2ray.com/core/app"
|
|
)
|
|
|
|
const (
|
|
APP_ID = app.ID(2)
|
|
)
|
|
|
|
// A DnsCache is an internal cache of DNS resolutions.
|
|
type Server interface {
|
|
Get(domain string) []net.IP
|
|
}
|