Glad to hear it seems to have helped. Please keep us posted as you continue your testing.
Actually, this was introduced with 384.16 and the update to getdns 1.6.0. It's one of those problems that will come and go as the services change their configuration on the internet (for example anycast addresses that add or delete servers which create a larger or smaller dns response). Larger dns responses create the error (no data returned to dnsmasq for the query).Ok, everything is still working, and I was able to remove and re-add a protect to my account.
I'd still like to understand if this was a recent breakage from .17 to .18, and what the intent was of the change, and ideally why it breaks nest. For example, when I did the wireshark + hotspot test, I saw the dns resolution fail for frontdoor.nest.com (the response had no answer section). However I was able to both nslookup and ping that domain from my laptop. When I added one of the domain IP addresses to my laptop hosts file, then the device was able to add to my account via the hotspot. It was at that point I started messing with the DNS settings and tested disabling DoT.
So it's almost like the query doesn't fail for all devices, ie my laptop was successful. Perhaps the protect was doing the query with different parameters?
I don't think this is compression.....I'm pretty sure the DNSSEC keys are stripped off once it's validated and cached....The interesting part is maybe this. If I use dig to test the queries, I see a response size of 792 bytes to the local router, but a response size of 254 bytes if the response is cached by dnsmasq. And I get a response of 269 bytes if I dig @1.1.1.1 directly. So 1.1.1.1 and the dnsmasq cache are compressing the response maybe, and therefore not truncating it. But the cache time for this query is very short, maybe 15 seconds, so practically speaking it always fails for me.
On my fork, dig is reporting the EDNS buffer as 1232.... I thought I had found the problem in their patch ignoring the EDNS buffer size, and wrote a fix, but unfortunately, no joy. Dig does now reports the TCP retry. I'm still looking, but I think they (getdns) may not be correctly setting the truncated flag or dnsmasq reintroduced an old problem where they weren't correctly retrying truncated replies.@john9527 the reason dig works, is without any special flags it sends a query with an EDNS buffer size of 4096
This sounds like the same issue I've been experiencing for the last few months with SmartThings. I've had to turn off DoT to get the hub to connect to the servers and then I could turn on DoT again,
I don't think this is compression.....I'm pretty sure the DNSSEC keys are stripped off once it's validated and cached....
You can't see what's going on without Wireshark. Dig makes the request and the forward from dnsmasq to stubby has an OPT section with the EDNS buffer size at 4096. That buffer should come from the client I believe if it supports EDNS (not to be confused with TCP mode, EDNS is an extension for UDP). The requests I saw from the protect did not have an OPT section, so were not using EDNS.On my fork, dig is reporting the EDNS buffer as 1232.... I thought I had found the problem in their patch ignoring the EDNS buffer size, and wrote a fix, but unfortunately, no joy. Dig does now reports the TCP retry. I'm still looking, but I think they (getdns) may not be correctly setting the truncated flag or dnsmasq reintroduced an old problem where they weren't correctly retrying truncated replies.
Sure...check in about an hour....Any chance of a AX56 build to test? My AC68 was retired a few months ago,
Whisper campaign: John's Fork, the Next Generation...Sure...check in about an hour....
Sure...check in about an hour....
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!