<story><title>Chromium cleans up its act and daily DNS root server queries drop by 60B</title><url>https://www.theregister.com/2021/02/04/chromium_dns_traffic_drop/</url></story><parent_chain></parent_chain><comment><author>cashewchoo</author><text>I recently completed a &amp;quot;software pilgrimage&amp;quot;, as I decided to call it in explaining to friends why I did it, of writing my own DNS recursive resolver. I decided to implement it purely from RFC 1034&amp;#x2F;1035, with no library code aside from TCP and UDP sockets and a JSON config parser, those kinds of things. No library help for anything relating to the RFC. It&amp;#x27;s part of a homelab-focused DNS solution that I plan to release under the AGPLv3 once I dogfood it for a while. Basically &amp;quot;DNS for impatient homelabbers&amp;#x2F;SMB&amp;#x27;s who don&amp;#x27;t want to have to learn how to write zonefiles and don&amp;#x27;t want some crazy enterprise omnibus thing either&amp;quot;.&lt;p&gt;Anyway, in the process of doing this and putting it in my DHCP config and seeing the traffic from two smart TVs of different brands, my RIPE atlas probe, various phones and laptops, smart thermostat, etc etc, I&amp;#x27;ve noticed that there is a TON of &amp;quot;garbage&amp;quot; dns requests. Like, the chart [the article] shows - where about 70% of queries result in a name error - that totally meshes with what I see on a much smaller scale. Right now, prometheus tells me that since last restart (which was about a week ago at this point?), I&amp;#x27;ve answered 80437 queries with NO_ERROR, 52014 with NAME_ERROR, and 242 with SERVER_FAILURE (funnily enough, when spot checking these, 8.8.8.8 also SERVER_FAILUREs these same requests - usually devices with presumably-buggy dns libraries not correctly specifying lengths of variable-length fields).&lt;p&gt;It really surprised my initial suspicions that so many DNS requests would be coming up with what I was originally considering to be an error condition. But I guess sometimes the absence of a DNS record is just as meaningful as the presence.&lt;p&gt;Incidentally, I also noticed these chromium dns requests, and they had me worried for a bit because I wondered if they were malware trying to exploit some kind of vuln in dns servers. Took a bit of googling to figure it out. I do think they make up a decent % of the name errors I see, though I hadn&amp;#x27;t gotten around to having prometheus split them out to measure.</text></comment>
<story><title>Chromium cleans up its act and daily DNS root server queries drop by 60B</title><url>https://www.theregister.com/2021/02/04/chromium_dns_traffic_drop/</url></story><parent_chain></parent_chain><comment><author>CivBase</author><text>I&amp;#x27;m surprised 60 billion DNS queries is only 41% of the daily norm.  With a billion people between the US and Europe alone - the vast majority of which use the world wide web directly multiple times a day (nevermind other online services) - and the amount of domains a typical website loads resources from, I figured daily DNS queries would have broken into the trillions by now.&lt;p&gt;I suppose that&amp;#x27;s probably thanks to caching, dedicated apps for many websites, and most users sticking to a relatively small selection of websites.</text></comment>