diff --git a/app/dns/server.go b/app/dns/server.go index de831fe5e..d93b7af37 100644 --- a/app/dns/server.go +++ b/app/dns/server.go @@ -7,11 +7,11 @@ import ( "sync" "time" - "github.com/miekg/dns" "v2ray.com/core" "v2ray.com/core/common" "v2ray.com/core/common/net" "v2ray.com/core/common/strmatcher" + "v2ray.com/core/features/dns" ) type Server struct { diff --git a/dns.go b/dns.go index 349e89077..34fbe1361 100644 --- a/dns.go +++ b/dns.go @@ -1,10 +1,10 @@ package core import ( - "net" "sync" "v2ray.com/core/common" + "v2ray.com/core/common/net" "v2ray.com/core/features/dns" ) diff --git a/features/dns/client.go b/features/dns/client.go index e1ab41347..70adc064b 100644 --- a/features/dns/client.go +++ b/features/dns/client.go @@ -1,8 +1,7 @@ package dns import ( - "net" - + "v2ray.com/core/common/net" "v2ray.com/core/features" )