fix dns client

pull/1331/head^2
Darien Raymond 2018-10-11 23:09:15 +02:00
parent ca4d42f2bc
commit c3170dfc8e
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
3 changed files with 3 additions and 4 deletions

View File

@ -7,11 +7,11 @@ import (
"sync" "sync"
"time" "time"
"github.com/miekg/dns"
"v2ray.com/core" "v2ray.com/core"
"v2ray.com/core/common" "v2ray.com/core/common"
"v2ray.com/core/common/net" "v2ray.com/core/common/net"
"v2ray.com/core/common/strmatcher" "v2ray.com/core/common/strmatcher"
"v2ray.com/core/features/dns"
) )
type Server struct { type Server struct {

2
dns.go
View File

@ -1,10 +1,10 @@
package core package core
import ( import (
"net"
"sync" "sync"
"v2ray.com/core/common" "v2ray.com/core/common"
"v2ray.com/core/common/net"
"v2ray.com/core/features/dns" "v2ray.com/core/features/dns"
) )

View File

@ -1,8 +1,7 @@
package dns package dns
import ( import (
"net" "v2ray.com/core/common/net"
"v2ray.com/core/features" "v2ray.com/core/features"
) )