[dns-operations] specifics of UDP response with truncate bit; odd google fail on AAAA responses w/ truncation

David Miller dmiller at tiggee.com
Fri May 25 05:20:47 UTC 2012


On 5/24/2012 11:08 PM, paul vixie wrote:
> On 5/25/2012 1:38 AM, Ryan Rawdon wrote:
>> ...  So here are the questions I am left with right now:
>> - Should a packet with the truncate bit set contain answers, or is this optional?  I'm guessing optional, but could see arguments for the UDP response with the truncate bit containing at least the first few RRs
> the answers are optional.
>
>> - Should a packet with the truncate bit set have the field for the number of Answers reflect how many answers are in that packet, or how many are in the actual forthcoming response?  I believe that it should contain the number of RRs contained in the UDP response itself, not the full answer to the query - and this is where I believe the Amazon response is malformed.  In the UDP response it says there are 24 answer RRs when there are zero
> the header counts must match the actual contents but the
> prospective/desired contents, or else the response is malformed.


There was supposed to be a "not" somewhere in this sentence?


> paul
>




More information about the dns-operations mailing list