Turns out that the "test." zone is directly served by the Tencent CDN
without hitting the actual resolvers. So, we need to use a different test zone.
This commit is contained in:
parent
f3157b0a42
commit
b583fb5314
|
@ -397,7 +397,7 @@ func dohNXTestPacket(msgID uint16) []byte {
|
|||
for i := range qName {
|
||||
qName[i] = charset[rand.Intn(len(charset))]
|
||||
}
|
||||
msg.SetQuestion(string(qName)+".dnscrypt.test.", dns.TypeNS)
|
||||
msg.SetQuestion(string(qName)+".test.dnscrypt.", dns.TypeNS)
|
||||
msg.Id = msgID
|
||||
msg.MsgHdr.RecursionDesired = true
|
||||
msg.SetEdns0(uint16(MaxDNSPacketSize), false)
|
||||
|
|
Loading…
Reference in New Issue