3 ms·
It's worth noting here that when 'wizeman says "enough users have DNSSEC validation enabled", he's referring to a fictitious state of "DNSSEC validation" where
by tptacek 4y ago
It's worth noting here that when 'wizeman says "enough users have DNSSEC validation enabled", he's referring to a fictitious state of "DNSSEC validation" where the clients perform full recursive validation up to the roots. No mainstream operating system does that today, so when you look at statistics about the (low but significant) percentage of DNS queries done with validation enabled, bear in mind that all of those queries are done the standard way: the stub resolver does no verification itself, and the DNS server simply communicates back to the resolver that verification was done with the `AD` bit.
Obviously, an ISP can simply flip the `AD` bit in any DNS response it wants to edit.
- wizeman 4y ago> No mainstream operating system does that today ... by default. Doesn't mean that the software doesn't support it (by simply flipping DNSSEC=no to DNSSEC=yes in resolved.conf). It also doesn't mean they can't switch the default once most compatibility issues are solved. > Obviously, an ISP can simply flip the `AD` bit in any DNS response it wants to edit. ... which would be rejected by DNSSEC validation in the client. Besides, many DNSSEC queries are currently validated by trusted DNS servers like Cloudflare's and Google's which don't flip the `AD` bit and can communicate to the clients via a secure protocol like DNS-over-HTTPS (implemented in Firefox and Android) or DNS-over-TLS. So don't dismiss the value that it already has, even without client-side DNSSEC validation.
- tptacek 4y agomacOS, iOS, and Windows are more than a resolv.conf change away from fully validating DNSSEC.
- wizeman 4y ago> macOS, iOS, and Windows are more than a resolv.conf change away from fully validating DNSSEC. You're right, good point. Let's give up on DNSSEC then. :)
- akerl_ 4y agoGiven how long DNSSEC has existed, what’s your theory for why basically no endpoints actually validate DNSSSEC?
- wizeman 4y agoI'm not actually an expert on this, so I can't say for sure. I know of only 2 compatibility issues, by order of decreasing importance (IMHO): 1) Some DNS servers don't yet support DNSSEC (presumably including the DNS servers of some ISPs?) Presumably this could be solved by contacting the admins of the affected DNS servers and asking them to update their DNS server software. I think this is the biggest issue I know of. 2) The hostnames of NTP servers on DNSSEC domains can't be resolved when the client's clock is too out-of-sync. As another poster mentioned, this is not an inherent problem with DNSSEC, as TLS or any other similar security scheme would have the same problem. Presumably, until the issue can be solved in some better way, you'd have to have a couple of NTP servers on your config on non-DNSSEC domains or addressed by their IP addresses. For corporate networks, perhaps you could have a trusted NTP server (or servers) with stable clocks (or even GPS clocks) on your private network and address them by IP address.
- akerl_ 4y agoMaybe it’s not compatibility issue, and DNSSEC doesn’t provide meaningful security improvements, so deploying it increases the risk of breakage without any tangible benefit to the threat model.
- tptacek 4y agoThis is such a weird analysis. Again: less than 4% of .com is signed. It's not just a question of people updating their server software; it's getting a critical mass of the Internet to reconfigure their DNS, in an environment where the last several years shows well-funded shops blowing themselves up just trying to get this done. Further: when Apple and Microsoft operating systems rely on the `AD` bit for DNSSEC verification, they are using the protocol as it was designed. That's what the bit is there for. The protocol was designed to trust the link between the OS stub resolver and the DNS server, because it was designed in 1995 when even small networks ran and trusted their own BIND servers. You can see that this fully-recursive verification thing isn't what the DNSSEC designers want just from the fact that they themselves attempted to solve this problem, over a decade ago, with TSIG (iirc; it might have been a different weirdo DNS subprotocol). There was an actual stub-to-server DNS protocol. Nobody uses it because nobody in the real world cares about DNSSEC. What you're really saying is that Linux nerds can just run their own DNS servers. They can! But we don't design global Internet security to serve people who want to sysadmin their own phones. It has to work for normal people.