163 points · by captn3m0 · 12y ago · 131 comments
Virtually no important services on the Internet rely on DNSSEC. Using it now is pure downside.
What's especially funny about this is that your DNS queries to these third-party servers are not themselves encrypted; in other words, you're sending your DNS UDP packets halfway across the Internet for the pretense of cryptographic security.
Isn't this literally true of any service?
> What's especially funny about this is that your DNS queries to these third-party servers are not themselves encrypted;
This would be relevent if people were aiming to protect the confidentiality of their DNS queries. They're not though. They're trying to protect the integrity of the DNS queries.
Anyhow, I find it useful in that I can store SSHFP records in my DNS zone and then use `VerifyHostKeyDNS` when I'm sshing into servers. This becomes especially useful if I've got servers sshing into other servers and I don't want to have to lug around a known_hosts file on every server.
Saying things like "using DNSSEC is pure downside" is so easily demonstrably false and hyperbolic that it may cause people to ignore the rest of your argument. Which is a shame, because I know you have very insightful and interesting things to say about a lot of things.
I'm just going to leave this here and let people make up their own minds. I don't really have an opinion but I think you are being excessively negative without presenting any evidence.
Then why are they using a DNS cache run by a third party (who they do not know) on the open internet, and shared with other users they do not know? The entire focus on DNS insecurity that brought about the renewed interest in "DNSSEC" can be traced to a "cache poisoning" scare back in 2008. The rational response to that aspect of DNS insecurity is to move away from shared DNS caches on the open internet, aka "open resolvers".
If "integrity" were the goal, then I would think downloading a trusted copy of the root.zone and running your own root and DNS cache on localhost would be a better approach. Additionally, if you have many double-digit GB's to spare, you could add in copies of the com, net, or org zones. Allowing users to download trusted copies of these is required by the ICANN rules. Alas, Country Code TLD's are not governed by these rules. Imagine if the telephone company would not allow you to have a copy of the telephone book and said you could only call the operator when you needed to look up a telephone number. That's what it's like when public registries withhold zone files. But I digress...
Setting up and maintaining a local DNS cache is a lot easier than setting up DNSSEC.
Really, the only queries you need to be sending out over the open internet are ones to the third party authoritative nameservers that are responsible for the information you are after. That means non-recursive queries only. I have been doing this for years and it works beautifully. In some cases, it can be faster to make only a series of non-recursive queries to authoritative nameservers than to make a recursive one to a cache. I also store the DNS information for hosts I know I might revisit in HOSTS and zone files. This minimizes my need to use DNS. And looking up information in HOSTS and zone files (in cdb format) is always faster than third party DNS.
Once you have achieved this sort of localized setup, and you no longer rely on third parties for DNS (e.g. such as OpenDNS, GoogleDNS, DNS.Watch, etc.), then you may come to the conclusion that the more important DNS security issues are 1. how to verify that the authoritative nameservers you query are the right ones (not imposters), and then 2. how to secure the packets you exchange with the authoritative nameservers.
There is a finished solution available for 2, but not for 1.
Unless you think delegating 1 to a third party is a "solution" (e.g., PKI, CA's managed by third parties like Verisign, etc.).
Lastly, even if you do not care much or at all about DNS security, there are gains in reliability and sometimes performance to be had by using a local cache (and ideally as much locally stored DNS information as possible) versus using a third party cache on the open internet. You get the additonal security of not using shared caches (i.e. minimized risk of cache poisoning) "for free."
Performing a recursive query to a server that has the well traveled internet in its cache, and likely located in a data centre close to other servers, is going to be faster than waiting (at minimum) 2 round trips to resolve it myself.
Fast page loads is something that some people go to great lengths for.
I'm curious as to what you think the downside of deploying DNSSEC is. I use DNSSEC Validator(https://www.dnssec-validator.cz/) for Firefox and I like seeing when a webhost's DNS entry validates. Certain sites I visit regularly do validate, while others don't. If it ever happens that I'm on a public wifi network and I visit a site which I know regularly validates, but fails this time, then DNSSEC will have done its job.
As more operators deploy DNSSEC more sites will validate, thereby allowing me to trust more DNS responses when I'm on a public network.
* It sucks up all the oxygen from the effort to actually mitigate flaws in the DNS. The most important DNS security flaw is the last-mile problem between browsers and nameservers, and DNSSEC has practically nothing to say about that. DNSCurve, as a counterexample, does solve this problem, and it solves it regardless of whether 1 person deploys it or 300 million do. But all the oxygen has been stolen by DNSSEC.
* It provides a setting for us to transition the CA system from untrustworthy companies directly to world governments, with the most commercially important domain names giving CA-like authority to (wait for it) the US government.
* Any way you try to project the math out, it will be ludicrously expensive to deploy (the deployment numbers we see today are, effectively, trial/pilot deployments, since virtually no end-user software cares about DNSSEC).
* Speaking of expensive: since virtually no modern networking software is built on the assumption that there can be (a) transient (b) security failures for DNS lookups, actually deploying DNSSEC is going to require forklift upgrades to huge amounts of already deployed code. Just to make that clear: imagine you're still using gethostbyname() to look up names, like lots of code does. How does your lookup code change to accommodate the fact that a query can, under DNSSEC, (a) fail (b) despite the fact that there was a response to the query with a usable record? TLS solves this with a pop-up dialog. Where does the dialog go?
* The most common mode of deployment for DNSSEC leaks hostnames; it essentially re-enables public zone transfers. To avoid this problem, you can theoretically deploy minimum-covering NSEC ("whitelies"), but despite the fact that this is the only "safe" way to deploy DNSSEC, it's not the default. Why? Because whitelies requires online keys, and the original premise of DNSSEC was to keep keys offline. Net result: many many deployers of DNSSEC --- should we be so unfortunate as to have many deployers of DNSSEC --- will accidentally leak the contents of their zones to the Internet.
This is a subset of the reasons I don't like DNSSEC (a more significant one to me is that I believe it's cryptographically obsolete); it's just the subset that, off the top of my head, I think demonstrates the harm DNSSEC would do beyond simply not solving the problem it ostensibly solves.
It needs to be maintained of course, just like any deployment, but is it worse in this regard to other protocols? I would say no. If you can get a TLS certificate for your web server, you can get your DNS records signed.
The whole infrastructure is in place. Your operations team should know this already. There are books, courses, certifications. The whole shebang
> DNSCurve, as a counterexample, does solve this problem, and it solves it regardless of whether 1 person deploys it or 300 million do. But all the oxygen has been stolen by DNSSEC.
DNSCurve solves none of the problems that DNSSEC solves.
That's the problem with DNSCurve adoption. Not some conspiracy by the DNSSEC cabal.
> It provides a setting for us to transition the CA system from untrustworthy companies directly to world governments, with the most commercially important domain names giving CA-like authority to (wait for it) the US government.
This is just false. DANE shifts the authority from some 300 individal organisations, private and otherwise, into your parent zone, which you must trust anyway under every sane DNS model.
The authority for the system as a whole is delegated to a transparent organization, currently indirectly appointed by the US government. If the word "government" here makes you see red, you're missing out on the bigger picture.
> it essentially re-enables public zone transfers
This is a true problem with DNSSEC. But it has been discussed over and over again for 15 years and no one really thinks it is a showstopper. It's well covered in the literature.
> a more significant one to me is that I believe it's cryptographically obsolete
Well, show that then. There is a whole working group who'd love to hear something more concrete. That's the way standards should be set, not by personal beliefs.
> * It's complicated to deploy and misconfigurations cause outages, and those outages get more severe the more people deploy DNSSEC.
I would dispute that. Pretty much all of the authoritative name servers (Bind, NSD, Windows, Knot) have made the signing service a few lines in a configuration file. YES, there are operational steps you need to put in place, primarily related to KSK rollovers, but the actual deployment is pretty simple these days.
Similarly, on the validation side, deploying DNSSEC validation is basically one line in a config file for BIND and Unbound and a little bit more in Windows Server 2012. It's simple to deploy.
> * It sucks up all the oxygen from the effort to actually mitigate flaws in the DNS. The most important DNS security flaw is the last-mile problem between browsers and nameservers
That may be the most important issue to YOU, but to others ensuring the integrity of the DNS info is more important.
> * It provides a setting for us to transition the CA system from untrustworthy companies directly to world governments
Huh? I keep hearing DNSSEC critics bring this up and I've yet to have anyone truly explain how this can happen.
> * Any way you try to project the math out, it will be ludicrously expensive to deploy (the deployment numbers we see today are, effectively, trial/pilot deployments, since virtually no end-user software cares about DNSSEC).
There are 18 million customers of Comcast in North America who are receiving the integrity protection of DNSSEC. Every Comcast user is having every DNS query validated by DNSSEC. Please take a moment to look at the stats off of this page: http://gronggrong.rand.apnic.net/cgi-bin/ccpage?c=XA&x=1&g=0... (which I know you've seen because we've discussed this on Twitter). There are very real deployments of DNSSEC validation happening around the globe.
I've run out of time right now to answer... and the reality is that you and I could probably just go back and forth on this for quite some time. You don't like DNSSEC. I like DNSSEC for solving the problems it does (and also for providing additional capabilities such as DANE).
Hmm... I'm not clear how a failed query could have a "usable" record. If DNSSEC validation fails then the response to the query can't be trusted. So that would not be "usable" to me. Or am I missing something here?
He mentions encryption since the vast majority of people believe DNSSEC provides some level of privacy, encryption, or security. Most of us in the industry who aren't financially aligned to support DNSSEC recognize it does little to nothing in this area; while simultaneously adding complexity and brittleness.
The only benefit DNSSEC offers (imho) right now is DANE-like services. And guess what? There are much easier ways to accomplish that.
No-one who uses DNSSEC is arguing it keeps your DNS records private. It is a straw man argument to suggest otherwise.
DNSSEC is designed to provide tamper-evidence, not privacy.
Swedish banks:
http://www.dnssecandipv6.se/bankdns/
I'm not really backing the DNSSEC horse but I figured I'd point out that they exist and are not super uncommon. Also as the person starting the argument, you should be the one providing evidence.
Here in Sweden most important institutions have deployed it. I thought most of US government institutions were under mandate to deploy soon as well?
When deployed, you as an end user are the one who can rely on it.
>Virtually no important services on the Internet rely on DNSSEC.
Don't know about "important", but many governments including the U.S. consider it important enough to deploy:https://en.wikipedia.org/wiki/DNSSEC#Deployment http://fedv6-deployment.antd.nist.gov/
Here are some DNSCrypt-enabled public resolvers, most of them without logs, and some supporting DNSSEC and/or Namecoin: https://github.com/jedisct1/dnscrypt-proxy/blob/master/dnscr...
Adding DNSCrypt support is as easy as running a small daemon (dnscrypt-wrapper) forwarding the queries to the actual resolver.
For most part, entries a cached locally and in single visit, you are not visiting more then one domain.
I think we should welcome this line of thinking and acting, internet is becoming less free place every day. Not the same, but I was reading this article about a guy who is on Verizon and gets better Netflix when he uses his VPN.
And DNS.watch isn't solving anything. It only moves your dependency from one third-party (your ISP, Google, OpenDNS) to another one (DNS.watch).
If we really want to keep internet the way it was intended, we must run our own resolvers. That will most certainly defeat the cacheability of DNS but it is very much needed.
OpenWRT/Tomato/etc provide "dnsmasq" for exactly this reason. :-)
Any links as to how to build your own DNS resolver? I already have some things on my own "cloud", this would be one thing more :)
They also have a version focused on providing DNSSEC validation called "DNSSEC-Trigger":
http://www.nlnetlabs.nl/projects/dnssec-trigger/
Wikipedia also has a decent comparison of a wide range of different resolvers:
https://en.wikipedia.org/wiki/Comparison_of_DNS_server_softw...
The key is that in the "Feature matrix" table there you need to have a "Yes" in the "Recursive" column.
also on Github at:
https://github.com/getdnsapi/getdns
There are also a range of other DNS developer libraries out there. Here is a list of some:
http://www.internetsociety.org/deploy360/resources/dnssec-de...
Thank you, but PLEASE provide dnscrypt service too.
IPv4 address = 4 bytes
Avg domain length = ~14 characters (http://datagenetics.com/blog/march22012/)
So ~20MB per million domain names (assuming 1 IPv4 address per domain name)
Here in Germany I get a very good latency to this service (22 ms, almost as good as my ISP's resolver's 18 ms), but if you don't live in or close to Germany this service probably isn't for you, at least as long as they haven't implemented anycast with multiple world wide locations.
For reference I was using for a while dns from here http://wiki.opennicproject.org/Tier2 after testing which ones had less ping.
If they want to promise low latency, they should use anycast with servers around the world. Google for example does this.
I compiled a list of reliable, anycast DNS recursors some time ago: http://wiki.nyr.bz/dns_publicos
6 50.242.148.34 (50.242.148.34) 11.825 ms 23.165 ms 11.936 ms 7 vlan60.csw1.sanjose1.level3.net (4.69.152.62) 167.163 ms 173.912 ms vlan80.csw3.sanjose1.level3.net (4.69.152.190) 179.634 ms 8 ae-61-61.ebr1.sanjose1.level3.net (4.69.153.1) 166.071 ms 166.300 ms ae-81-81.ebr1.sanjose1.level3.net (4.69.153.9) 166.493 ms 9 ae-2-2.ebr2.newyork1.level3.net (4.69.135.186) 166.700 ms 167.425 ms 168.243 ms 10 ae-62-62.csw1.newyork1.level3.net (4.69.148.34) 168.031 ms 167.538 ms ae-82-82.csw3.newyork1.level3.net (4.69.148.42) 168.819 ms 11 ae-71-71.ebr1.newyork1.level3.net (4.69.134.69) 168.592 ms ae-81-81.ebr1.newyork1.level3.net (4.69.134.73) 166.472 ms ae-61-61.ebr1.newyork1.level3.net (4.69.134.65) 167.677 ms 12 ae-41-41.ebr2.london1.level3.net (4.69.137.65) 167.766 ms ae-43-43.ebr2.london1.level3.net (4.69.137.73) 167.754 ms ae-42-42.ebr2.london1.level3.net (4.69.137.69) 167.882 ms 13 vlan103.ebr1.london1.level3.net (4.69.143.93) 167.297 ms vlan101.ebr1.london1.level3.net (4.69.143.85) 167.796 ms vlan103.ebr1.london1.level3.net (4.69.143.93) 166.458 ms 14 ae-23-23.ebr2.frankfurt1.level3.net (4.69.148.194) 165.179 ms ae-24-24.ebr2.frankfurt1.level3.net (4.69.148.198) 168.929 ms ae-23-23.ebr2.frankfurt1.level3.net (4.69.148.194) 165.134 ms 15 ae-72-72.csw2.frankfurt1.level3.net (4.69.140.22) 166.229 ms 171.583 ms ae-62-62.csw1.frankfurt1.level3.net (4.69.140.18) 166.542 ms 16 ae-3-80.edge4.frankfurt1.level3.net (4.69.154.136) 168.808 ms 167.824 ms ae-2-70.edge4.frankfurt1.level3.net (4.69.154.72) 177.082 ms 17 accelerated.edge4.frankfurt1.level3.net (212.162.25.6) 167.854 ms 182.773
Or because of trust? You're in the US.
- Window: points to FritzBox howto
- OS X: 404
- Linux: 404
You may want to run linkchecker (http://wummel.github.io/linkchecker/) next time :)https://twitter.com/mamunabms/status/490867160227409920
> You may want to run linkchecker (http://wummel.github.io/linkchecker/) next time :)
Hehe :)
[1] https://www.schneier.com/blog/archives/2013/10/can_i_be_trus...
It always eventually comes down to trusting a company, or trusting strangers. You're already doing this, because you are viewing this on some form of a computer that you didn't completely hand-build, and are running software that you didn't build from scratch using your own, self-built compilers.
I say a potentially better way of looking at this problem is: I know Comcast logs my DNS queries and who knows what else. I however don't know that this site does. From a pure privacy standpoint, I have nothing to lose by switching over and everything to gain.
And even if there is aren't we back to trusting whomever signs DNSSEC? No doubt some US corp that had their private key national security lettered?
Were you thinking about DANE?
Wonder whenever there's a piece of software that'd retroactively verify every query done by my resolver against a set of supposedly-uncensored public third-party resolvers (like this DNS.watch) and raise an alarm in case of inconsistencies. (Although I have no idea how to deal with multitude of false alarms that would be there due to DNS load balancing)
You can count all the red cars that pass by without logging their license plates, model type and number of passengers.
Exactly.
As a plus, precise accuracy isn't necessary here, no-one's going to care if you report 39,893 instead of 19,898 queries per minute.
Simple counters + regular reset to zero would do the job well enough.
Couple of other arguments: The internet is built around decentralization... now all people use the same resolvers. Great. It's good to have proper alternatives.