All HowTo's Cybersecurity Linux Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux

Disable logging for Named/Bind

This article demonstrates how to disable logging for the bind / named service. Why? Because you may not like DNS errors filling up your logs. Unlike most of our articles, this is not focused on CentOS or Redhat.

Add the following to the end of you “/etc/named.conf”. This file sometimes lives inside “/etc/bind9”.

logging {
        category default { null; };

And restart the DNS service:

service named restart

And test it to make sure it’s all still working as normal:

dig @

Leave a Reply

Your email address will not be published. Required fields are marked *