mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2024-12-30 02:37:01 +00:00
@@ -49,7 +49,7 @@ func resolve(hosts *T.Trie, pool *F.Pool, backendDNS []string, r *D.Msg) (msg *D
|
||||
}
|
||||
|
||||
q := r.Question[0]
|
||||
if q.Qtype != D.TypeA && q.Qtype != D.TypeAAAA {
|
||||
if q.Qtype != D.TypeA || q.Qclass != D.ClassINET {
|
||||
return dnsExchange(backendDNS, r)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user