All Linux HowTo's

Disable logging for Named/Bind

Share This:

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 @127.0.0.1 www.google.com

Leave a Reply

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