> On 12 Oct 2015, at 21:35, Mark Andrews <[email protected]> wrote:
> 
> 
> For de-multiplexing the responses off the socket the *only* field
> you should be using is the ID field.  There are error conditions
> that result in only the DNS header being returned.  All responses
> are *supposed* to be constucted in the DNS.  Setting rcode to
> formerr/notimp and setting qr to 1 does *not* generate valid error
> messages despite some servers doing this.
> 
> For sanity checking responses you use other field like you do with
> UDP.

Ah, OK. So, would the following be acceptable?

  Since pipelined responses over TCP can arrive out-of-order, clients MUST match
  responses to outstanding queries using the DNS query ID and the
  transport tuple (protocol, source and destination addresses, source and
  destination ports). If the response contains a question section the client 
MUST
  match the QNAME, QCLASS and QTYPE fields. 

Sara. 
_______________________________________________
DNSOP mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/dnsop

Reply via email to