Submit your Linux news story here.

How to block DNS queries for specific zone/domains with iptables on Linux

You can use iptables to block any string including DNS requests. This is pretty awesome way to block certain domain or dns queries on Linux.

From the blog post:

I have been seeing a lot of weird/bogus DNS traffic (thousands of queries a second) hitting our servers lately and I decided to try and block it. Specifically I saw tons of requests coming in for with a bunch of random hosts prepended. Things like:,,, etc. I decided I would block all DNS requests that contained the “” anywhere in the packet.