73 points · by tilt · 11y ago · 35 comments
Authentication of what?
An end point? No.
A domainname? OK, I'll play along.
And why would "authentication" of a dommainname be necessary?
Maybe because the end user is communicating with a shared DNS cache operated by a third party instead of using their own?
But I do not use shared DNS caches. I use my own cache.
Moreover I use CurveDNS which provides encryption of DNS packets in transit and is at least as good at "authenticating" the proper authoritative server for each domainname as DNSSEC.
How would DNSSEC serve me?
DNSSEC could be a way for certain groups to maintain control over the use of DNS. Similar to the way SSL CA system has been used to control the use of encryption. Both the use of domainnames and SSL certificates are each commercial in nature (pay to play). They do not have to be, but schemes like CA system and DNSSEC allow for this to occur via centralisation of authority.
Even if you run your own DNS cache, some bad actor between you and zone owner (including the aforementioned authoritative DNS server) can still potentially provide you with bad data. DNSCurve gives you _encrypted traffic_, but DNSSEC gives you _accurate results_. They solve two different problems.
Well-known fact. And truthfully the most sensible approach would be to use both. Yet I never see anyone doing that.
Given the choice between the two problems, I know which one I consider more serious.
The results might be "accurate" when stored on the nameserver but if they get tampered with in transit went sent over the wire then they are not "accurate" when they are received. In that case DNSSEC does not give me accurate results.
Moreover I am not keen on the widepread sniffing of DNS traffic. Name lookups and other DNS requests and responses are just as important as HTTP traffic. Why encrypt one and not the other?
Finally, I could be wrong but I think getting redirected to a bogus nameserver run by a "bad actor" seems (easier for the bad actor and) more likely than accessing the correct nameserver without the knowledge it has secretly been compromised.
Here's where you're wrong. A zone isn't just signed in isolation. If it was, then DNSSEC would indeed be completely useless. Rather, there's a chain of trust from the root nameservers up to the nameservers for the domain in question, and in each case you can request a DS (delegation signer) record to show that a zone served by a subordinate nameserver hasn't been tampered with.
Now, this has its own issues if you're not a fan of the hierarchical nature of DNS, but it guarantees that even though the data is sent in the clear, some bad actor can't modify it in transit without breaking everything.
DNSCurve is a nice bonus, but the guarantee that the records being served cannot have been tampered with given by DNSSEC is much more fundamentally important.
Of course there are many times the domain name will remain hidden, if the DNS record is encrypted, but that is not a fraction of total use cases, and I doubt there will be great force pushing for DNS encryption.
Moreover -- The lack of encryption is still a major issue IMHO. Validation is great, except that when a record fails to validate the end user experience is essentially NXDOMAIN which is not a very friendly user experience.
At least with SSL certificate failures, the application has visibility into the cause of the failure. In DNSSEC, it's hard to distinguish between a failed validation and any other kind of DNS resolution failure.
I just can't see a world where people enable validating resolvers that reject non-validating responses. And if that's true, then the entire point of DNSSEC is largely compromised -- with the possible exception of using DNSSEC to validate in-line verifications (a la DANE).
I agree they should add confidentiality. That shouldn't be too hard since all the key handling is already taken care of.
[1] http://cr.yp.to/talks/2009.08.10/slides.pdf http://cr.yp.to/djbdns/forgery.html http://cr.yp.to/talks/2009.03.21/slides.pdf etc etc but also http://ianix.com/pub/dnssec-outages.html
Upgrade the protocol first, then come back telling us how great DNSSEC is.
Also: Cloudflare may use ECDSA, but the roots and TLDs do not. And because DNSSEC is a stupid design, it matters a lot that they don't.
I hate it as much as the next cryptographer, and I actually gave talks begging people to at least do deterministic ECDSA. But there's no EdDSA on the horizon.
Also, I think Thomas in the sister comment was referring to handshakes, but I was talking about X509.
* IPv6 nameservers. * DNSSec support.
Those would be my personal wish list items ie better interoperability/compatibility with published standards.
Those things may have been added recently though (I haven't checked in a while), but I doubt it.
On that basis you don't need to do a zone-transfer to get the data out, just use your existing source of truth.
(In my case I upload to Route53 via a git repository and push, and regard that repository as the source of truth - https://dns-api.com/ )
>DNSSEC does not provide confidentiality of data; in particular, all DNSSEC responses are authenticated but not encrypted. (From the wiki)
However, DNS poisoning attacks are still relevant because not all of the web is on HTTPS.