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:
Frank Denis 2020-08-05 15:03:16 +02:00
parent f3157b0a42
commit b583fb5314
1 changed files with 1 additions and 1 deletions

View File

@ -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)