mirror of https://github.com/v2ray/v2ray-core
comments
parent
07866e6d39
commit
c48e1f02a6
|
@ -6,7 +6,7 @@ import (
|
||||||
"v2ray.com/core/app"
|
"v2ray.com/core/app"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A DnsCache is an internal cache of DNS resolutions.
|
// A Server is a DNS server for responding DNS queries.
|
||||||
type Server interface {
|
type Server interface {
|
||||||
Get(domain string) []net.IP
|
Get(domain string) []net.IP
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue