How to limit traffic to a public DNS service to prevent (D)DoS attacks?

Solution Unverified - Updated -


  • Public DNS service is getting flooded with queries from hosts coming from the Internet, likely a (D)DoS attack.
  • Need to limit such connections, in a way that the DNS service stays functional for the public.


  • Red Hat Enterprise Linux
  • iptables

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content