Projects STRLCPY dnstt Commits a650238f
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    dnstt-server/main.go
    skipped 439 lines
    440 440   if question.Type != dns.RRTypeTXT {
    441 441   // We only support QTYPE == TXT.
    442 442   resp.Flags |= dns.RcodeNameError
    443  - log.Printf("NXDOMAIN: QTYPE %d != TXT", question.Type)
     443 + // No log message here; it's common for recursive resolvers to
     444 + // send NS or A queries when the client only asked for a TXT. I
     445 + // suspect this is related to QNAME minimization, but I'm not
     446 + // sure. https://tools.ietf.org/html/rfc7816
     447 + // log.Printf("NXDOMAIN: QTYPE %d != TXT", question.Type)
    444 448   return resp, clientID, nil
    445 449   }
    446 450   
    skipped 347 lines
Please wait...
Page is in error, reload to recover