mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-07 12:18:43 +00:00
Refine DNS strategies
This commit is contained in:
@@ -14,7 +14,7 @@ type LocalNameServer struct {
|
||||
}
|
||||
|
||||
// QueryIP implements Server.
|
||||
func (s *LocalNameServer) QueryIP(_ context.Context, domain string, _ net.IP, option dns.IPOption, _ bool) ([]net.IP, error) {
|
||||
func (s *LocalNameServer) QueryIP(_ context.Context, domain string, _ net.IP, option dns.IPOption, _ CacheStrategy) ([]net.IP, error) {
|
||||
var ips []net.IP
|
||||
var err error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user