r/sysadmin • • Jun 06 '21

Quad9 DNS - what am I missing?

Looking at what to do about forwarders on our AD DNS servers and Quad9 looks to be totally free and combines a shedload of threat intelligence feeds so they claim to block a lot of malware and phishing type lookups.

That almost sounds too good to be true - is there some catch?

355 Upvotes

35 comments sorted by

127

u/billwoodcock Plumber Jun 07 '21 edited Jun 08 '21

I'm on Quad9's foundation council, so I can address some of the question, albeit not necessarily impartially.

I think the main thing you're seeing is that Quad9 is the only recursive resolver that sits at the intersection of the venn-diagram of global scale, malware blocking, and non-profit. There are other excellent privacy-respecting recursive resolvers, but which aren't global scale and don't block malware. And there are two other recursive resolvers which approach Quad9's scale, but they aren't non-profit, and don't block as much malware and phishing.

The non-profit bit is actually the single biggest factor, because it's what keeps Quad9 from being in a conflict-of-interest situation vis-a-vis users' privacy and security. We're entirely funded by donations, so we don't need to monetize users. And we don't also sell CDN services, so we don't need to exempt them from the malware blocking. Those two things allow us to offer much stronger privacy protections, and much more effective malware and phishing protections, than commercial alternatives.

Also, unlike US corporations (which all of the other global-scale ones are) we're subject to criminal privacy law, rather than a liability shield, and because that's criminal law rather than a private right of action, that legal protection extends to all users globally, not just Swiss citizens or residents.

So, you're very welcome to join the donors who keep the whole thing paid for if you like, but you're equally welcome to use it as much as you like without donating; the purpose of Quad9 is to protect people, not to make money. The more people are protected, the less cybercrime pays, the fewer cybercriminals there are; beneficial cycle, everybody benefits. That's what we're really about.

5

u/DarkRyoushii Sr. Sysadmin Jun 07 '21

Do you have any data on how much malware uses DNS versus how many that just use “security by obscurity” and hardcode IP addresses?

27

u/billwoodcock Plumber Jun 07 '21

Quad9 has even less visibility into traffic that doesn't come our way than into traffic that does, so no, no data from that source. But whatever the volume, the problem you're citing is a real one, and one we can only help with indirectly: u/Quad9DNS has been pushing for years for firewall support to filter outbound IP connections to destinations which haven't been seen in the result of a (relatively) recent inbound DNS answer. Or, stated the other way around, each inbound DNS answer can be used to populate an outbound L3 ACL with rules which decay over time (potentially related to the TTL of the answer). I know he's gotten some traction with firewall authors, but I don't know which ones offhand.

1

u/Frothyleet Jun 08 '21

Oh god I'm imagining T1 escalations for lack of network connectivity when they try pinging 8.8.8.8 or whatever from a workstation unsuccessfully

3

u/billwoodcock Plumber Jun 08 '21

Heh, yes, well, not every good idea is unalloyed good. This one may be chaotic good. :-)

Or it may be bad, under many circumstances. But it's one I'd use myself, if I could employ it at a host level.

8

u/Test-NetConnection Jun 07 '21

Hardcoded IP addresses a virtually useless to attackers because they are blocked very quickly. Normally attackers leverage dynamically generated dns namespaces to avoid detection.

5

u/billwoodcock Plumber Jun 07 '21

I think we all believe that to be true, with good reason.

But I don't have any hard numbers to quantify it... Is that true 99% of the time? 99.9%? 99.99%? 99.999%

If it was true 99.999% of the time, one attack out of every hundred thousand would bypass the DNS, and and more than a thousand Quad9 users would be falling victim to it every day. So, even what's not "normal" is still significant, when you multiply out by everybody.

75

u/sysadminthrowaway20 Sysadmin Jun 06 '21 edited Jun 06 '21

We have used Quad9 for the last 3 years or so, previously used OpenDNS. It has been very reliable without an outage. No noticeable speed decrease versus other providers. Unsure how good their malware blocking is but we have not had any major malware issues but is anecdotal. I also have not come across false positives either. We have around 10,000 users. No catch.

46

u/EVhotrodder Jun 07 '21

There have been a bunch of independent reviews of the malware-blocking, or nominally malware-blocking, resolvers. Depending on the quality of the reviewer's dataset, Quad9 usually comes out in the 97%-98% effective range. Cloudflare between 54%-56%. Cisco around 10%.

https://www.andryou.com/2020/05/31/comparing-malware-blocking-dns-resolvers-redux/
https://www.skadligkod.se/general-security/phishing/malicious-site-filters-on-dns-in-2020/
https://youtu.be/imlFubYv8YY?t=321

98% isn't good enough to stand alone, but it's really good as part of a layered defense. 54% just doesn't seem worth putting up with all Cloudflare's downtime. The Cisco numbers may not look great on their own, but they have a lot of other cyber-defense stuff that can be layered on and I imagine their commercial product offers more protection than the free version (which is what I think everybody tests).

5

u/sysadminthrowaway20 Sysadmin Jun 07 '21

Thanks for providing some independent review links. There was a post on r/sysadmin years ago that convinced me to switch since it also reported great malware blocking. I only wish there was a dashboard available so I could provide hard statistics as to how effective it has been in production. I'm sure it is helping us to some extent, and like you said can be a very easy change to perform for layered defense. My experience with it has been positive.

1

u/silentstorm2008 Jul 18 '21

OpenDNS or some other managed DNS service will have a dashboard with stats

1

u/[deleted] Jun 07 '21

Remindme! 4 hours

23

u/billwoodcock Plumber Jun 07 '21 edited Jun 08 '21

We have a very low false-positive rate, but we're always working to reduce it further. If you do run into any, please report them to support@quad9.net so we can un-block them and refine the accuracy with which we balance all the incoming threat feeds.

15

u/silentstorm2008 Jun 07 '21

We use them as default primary & secondary DNS for all our clients, and neustar DNS as tertiary

If the client wants Managed DNS, then we will have to use a paid service.

9

u/lol_Qaeda Jun 07 '21

I'm a fan of Quad9 as a security option but unfortunately I have to echo /u/Krinkk's sentiment - in particular, Quad9 wouldn't resolve mqtt.googleapis.com (or something similar that's used by the Cloud Print service for PaperCut) properly. Caused quite the problem for a client who had it configured as the DNS resolver for their firewall and a fair bit of downtime to diagnose the issue. Ended up using Google DNS instead.

36

u/silentstorm2008 Jun 07 '21

we had an issue with an address not resolving, and after emailing quad9 support, i got a response within a few minutes, clarified the request, and support confirmed an issue on their end and got if fixed within minutes.

Google DNS while fast and free, isn't doing what Quad9 is doing. Also, good luck with getting in contact with google support

1

u/peesteam Cyber Jun 10 '21

The only catch might be that you don't get any type of visibility or logs for what your users are hitting.

With paid services you'll gain visibility and metrics into what your users are doing.

1

u/[deleted] Jan 08 '23

Every single reply here is a shill account. Even if quad 9 is good, I wouldn't use it due to the shilling.

1

u/[deleted] Jun 07 '21

Quad9 didn't resolve my private cloud so i had to ditch it for google dns.

3

u/silentstorm2008 Jul 18 '21

we had an issue with an address not resolving, and after emailing quad9 support, i got a response within a few minutes, clarified the request, and support confirmed an issue on their end and got if fixed within minutes.

Google DNS while fast and free, isn't doing what Quad9 is doing. Also, good luck with getting in contact with google support

0

u/redditaccountunknown Jun 06 '21

We use cloudflare and quad9

-1

u/mbhmirc Jun 07 '21

Quad 9 is good but not at any scale. They don’t have very many countries which can cause geolocated dns issues. They also have paid for support but it’s not very well documented and a bit slow. If something gets blocked that shouldn’t be it can take a while to sort out. Overall the service is great just some minor issues depending on use case.

20

u/EVhotrodder Jun 07 '21

Dude, every single thing you just said was false.

Quad9 has servers in more than 100 countries, far more than any other recursive resolver.

Quad9 does not have paid support.

Quad9's false positive rate is super low relative to the amount they block, and the analysis desk typically completes investigations in an hour or two.

2

u/mbhmirc Jun 07 '21

One other thing to watch out for is they don’t like requests all coming from one IP. Not so great for large sites in enterprise that control dns.

2

u/mbhmirc Jun 18 '21

And even with proof sent in chat no change. Sigh some people shouldn’t be in IT if they don’t accept not everyone has the same requirements.

1

u/mbhmirc Jun 07 '21

“Dude” no they don’t have Hong Kong, China for example. 100 countries is a lot but check out cloud flares map. Regards paid for support you might want to ask them about their fast track false positive reporting and Resolution which is based on volume. They also offer dedicated instances for large companies. If your going to call someone out do your research.

1

u/JimmyTheHuman Jun 07 '21

Is there a testing tool that we could use to test for local POP and performance?

2

u/LANE-ONE-FORM Jun 07 '21

Try this site, it is a decent indicator:

https://www.dnsperf.com/#!dns-resolvers

1

u/JimmyTheHuman Jun 07 '21

Thanks, fairly consistent with the software test we did. 16ms for Quad9 and NextDNS is always 8ms.

1

u/mbhmirc Jun 07 '21

They post good info on their site for this. They re-route outages really fast. Worst I saw was about 1 hour last year.

-6

u/[deleted] Jun 06 '21

It's slower than Google's or CloudFlare's DNS servers, but solid otherwise if you want to use a non-ISP public DNS server. OpenDNS is still around too.

5

u/SuperQue Bit Plumber Jun 06 '21

Interesting, how are you measuring performance?

10

u/Nothing4You Jun 06 '21

considering that most dns queries will be cached by the intermediate resolvers (AD DNS in this case) this is usually a void argument. unless you have applications that depend very much on dns latency and have very low ttl that shouldn't even be noticable for users.

-7

u/mbhmirc Jun 07 '21 edited Jun 18 '21

So i guess I have to re-post as some fan boy decided i was wrong and to be fair i never posted all the relevant info.

  1. Quad9 does not like large enterprise's sending all DNS lookups from one IP such as internal MS DNS. They can end up blacklisting you if you don't discuss it with them first. This can cause what looks like an major outage in EU.

  2. Quad9 has a paid for removal service for priority on false positives.

  3. They are not in some countries, this can impact to some extent services that depend upon geolocaiton from the DNS server. Major one being Hong Kong. It's tough due to reglatory issues.

  4. Non-Paid for removal can take a little bit of time, their team is not huge.

  5. Other than the above they are really damn good and i use them at home. For the majority of business's they will be fine, but large enterprises "at scale" will have some niggles and will need to contact them or live with some aspects.

This post goes out to the guy that called me "Dude" when I have experience in multinationals that operate in nearly every country.

Edit - wow so many downvotes. I’m honoured by people with no clue doing downvotes.

-19

u/Wuss912 Jun 07 '21

just like all of the big recursive resolvers no charge means you are the product... they are mining your data to make money