Further DoS guidance, packages and patches available

Apr 3, 2014

Hi everybody,

Sadly, further DoS attacks are plaguing the world of DNS, which is bad for the targets of those DoS attacks, but also for us DNS operators that help originate them.  This post has guidance on how to make sure your PowerDNS Recursor mitigates the current attacks.

If you are under attack and need help, we’re there for you, and feel free to contact us on powerdns.support at powerdns.com.

* The attack

A current pattern of attacks is to register a domain with lots of ‘nameservers’, and then get botnets to create queries for that new domain.  Resolvers around the world then barrage these ‘nameservers’ with queries. And of course, these nameservers aren’t nameservers, they simply are targets of a DoS attack.

By crafting things just so, this creates a powerful packet amplifier, with one botnet packet turning into many many packets to the targets of the attack.

Some further details are on http://dnsamplificationattacks.blogspot.nl/2014/02/authoritative-name-server-attack.html

* What we can do about it

Although PowerDNS already checks if a server might be down, and will limit how often it queries it, this limitation does not stand up to the random nature of these attacks.

DoS victim Paulo Anes has contributed a filter that can aggressively filter out queries to dead servers, it is described in https://github.com/PowerDNS/pdns/pull/1300. Thank you Paulo!

We’ve since deployed this filter in many places, and it works VERY well against the current attacks. We recommend setting server-down-max-fails=32 for most servers, and server-down-max-fails=16 if under heavy attack.

Additionally, please make sure to read https://blog.powerdns.com/2014/02/06/related-to-recent-dos-attacks-recursor-configuration-file-guidance/ for how to properly size your operating system for dealing with incoming attacks.

* How can I get this filter?

The filter is part of our 3.6.0 release. Please find it on our Downloads page

* Further questions

If you have further questions, or are currently under attack and need help, please feel free to contact powerdns.support at powerdns.com.

About the author

Peter van Dijk

Peter van Dijk

Senior Developer at PowerDNS

Categories

Related Articles

PowerDNS Recursor 5.1.0-alpha1 Released

We are proud to announce the first alpha release of PowerDNS Recursor 5.1.0!

Otto Moerbeek May 15, 2024

PowerDNS Recursor 4.8.9, 4.9.6 and 5.0.5 Released

Today we have released PowerDNS Recursor 4.8.9, 4.9.6 and 5.0.5. These releases are maintenance releases that fix a few...

Otto Moerbeek May 14, 2024

PowerDNS Recursor Security Advisory 2024-02

Today we have released PowerDNS Recursor 4.8.8, 4.9.5 and 5.0.4. These releases fix PowerDNS Security Advisory 2024-02: if...

Otto Moerbeek Apr 24, 2024

PowerDNS Recursor: Extended DNS Errors Help You Troubleshooting

This is the seventh episode of a series of blog posts we are publishing, mostly around recent developments with respect to...

Otto Moerbeek Mar 12, 2024