1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-02 01:07:28 -04:00
v2fly/app/dns/dns.go
2016-05-17 23:05:52 -07:00

17 lines
209 B
Go

package dns
import (
"net"
"github.com/v2ray/v2ray-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
}