"Ace Fekay [MCT]" <> wrote in message
news:...
> "J de Boyne Pollard" <> wrote in message
> news:4810a244-11b2-43ae-ad13-...
>> AF> Good find, Jonathan.
>>
>> Merci.
>>
>> AF> What query command did you use with Dig to
>> AF> determine this, or did you use nslookup?
>>
>> Neither. I used my own tool. I just sent an "A" query for
>> "www.lloydstsb.co.uk." to 193.34.230.74 with EDNS0 large datagram
>> support enabled. I don't remember, off the top of my head, what the
>> option for enabling that in "dig" is, but that's all that one needs to
>> do. With my own tool, it's the /LARGEUDP option, which yielded the
>> following:
>>
>> [c:\]dnsqry /serverip:193.34.230.74 /largeudp a www.lloydstsb.co.uk.
>> [0.0.0.0:0000] -> [193.34.230.74:0035] 48
>> Header: 0000 1+0+0+1, Q, , query, no_error
>> Question: www.lloydstsb.co.uk. IN A
>> Additional: . 0x7fff OPT 0
>>
>> [193.34.230.74:0035] -> [0.0.0.0:0000] 12
>> Header: 0000 0+0+0+0, R, , query, bad_format
>>
>> [c:\]
>>
>> That's the same 12-octet response (except for message ID and some
>> reserved flag bits) as is given in the reported event log data. As
>> you can see, there's no question section in the response. The first
>> thing that I actually did, that I then double-checked with the above
>> manual query, was simply ask a non-Microsoft resolving proxy DNS
>> server to look up the "A" resource record set for
>> "www.lloydstsb.co.uk.", and read its log of back-end queries sent and
>> responses received. Here's the relevant portion of that log (which
>> Google Groups will probably mangle a bit -- every @ timestamp is a new
>> line):
>>
>> @4b20580e 15d9 rx 7f000009 07e1 query: www.lloydstsb.co.uk. IN A
>> @4b20580e ed99 tx c707422c 0035 (uk.) 1+0+0+1 48 www.lloydstsb.co.uk.
>> IN A
>> @4b20580e ed99 rx c707422c 0035 (uk.) 1+0+2+3 116 www.lloydstsb.co.uk.
>> IN A
>> @4b20580e ed99 rx c707422c 0035 cached: lloydstsb.co.uk. IN NS 172800
>> ns3.lloydstsb.co.uk.
>> @4b20580e ed99 rx c707422c 0035 cached: lloydstsb.co.uk. IN NS 172800
>> ns2.lloydstsb.co.uk.
>> @4b20580e ed99 rx c707422c 0035 cached: ns3.lloydstsb.co.uk. IN A
>> 172800 193.34.230.74
>> @4b20580e ed99 rx c707422c 0035 cached: ns2.lloydstsb.co.uk. IN A
>> 172800 193.34.230.73
>> @4b20580e ed99 tx c122e649 0035 (lloydstsb.co.uk.) 1+0+0+1 48
>> www.lloydstsb.co.uk. IN A
>> @4b20580f ed99 rx c122e649 0035 server indicated a bad format (1/2
>> lame or failed)
>> @4b20580f ed99 tx c122e649 0035 (lloydstsb.co.uk.) 1+0+0+0 37
>> www.lloydstsb.co.uk. IN A
>> @4b20580f ed99 rx c122e649 0035 (lloydstsb.co.uk.) 1+1+2+2 136
>> www.lloydstsb.co.uk. IN A
>> @4b20580f ed99 rx c122e649 0035 cached: www.lloydstsb.co.uk. IN A 900
>> 141.92.130.226
>> @4b20580f ed99 rx c122e649 0035 cached: lloydstsb.co.uk. IN NS 900
>> ns2.lloydstsb.co.uk.
>> @4b20580f ed99 rx c122e649 0035 cached: lloydstsb.co.uk. IN NS 900
>> ns3.lloydstsb.co.uk.
>> @4b20580f ed99 rx c122e649 0035 cached: ns2.lloydstsb.co.uk. IN A
>> 86400 193.34.230.73
>> @4b20580f ed99 rx c122e649 0035 cached: ns3.lloydstsb.co.uk. IN A
>> 86400 193.34.230.74
>> @4b20580f 15d9 tx 7f000009 07e1 1+1+0+0 53 ok: www.lloydstsb.co.uk.
>> 900
>>
>> The "bad format" response to the initial EDNS0 query is, as you can
>> see, received at 4b20580f. This is the point where Microsoft's DNS
>> server fails to find an echoed question in the response and aborts,
>> logging the event that you see. The non-Microsoft resolving proxy DNS
>> server doesn't mind empty question sections in "format error"
>> responses to EDNS0 queries, and so just proceeds to switch off EDNS0
>> and re-try the query.
>
>
> Thank you for the explanation. Yes, I see exactly what you mean where
> Microsoft DNS drops the query request.
>
> I am archiving this for if an when it may arise again in the future.
>
> Thank you, once again!
>
> Ace
>
Oh, just to add, when trying to determine if a server responds with EDNS0 or
not, I usually use nslookup with the "set vc" switch. I was curious how you
determined that, and it was interesting. Once again, I thank you.
Ace