1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-02 09:17:55 -04:00
v2fly/app/dns/dns.go
2016-08-20 20:55:45 +02:00

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
}