DNS problem with query logging

General support questions
Post Reply
piotrR
Posts: 2
Joined: 2015/09/02 12:21:48

DNS problem with query logging

Post by piotrR » 2019/03/19 08:21:57

Good morning,
I have been struggling with internal DNS for several days. I have it installed on Centos 7.6.1810 DNS version BIND 9.9.4-RedHat-9.9.4-73.el7_6. The problem is that if you enable query logging

Code: Select all

     channel queries_file {
         file "/var/log/named/queries.log" versions 3 size 5m;
         severity dynamic;
         print-time yes;
     };
category queries {queries_file; };
The service consumes 100% of the CPU and after a few minutes DNS stops working. I would like to have query logging turned on.
It happened after the last update. I was looking on the internet but there are old entries from 2011 and what they have tried to include :( I can not help myself :(

Best regards
Piotrek

piotrR
Posts: 2
Joined: 2015/09/02 12:21:48

Re: DNS problem with query logging

Post by piotrR » 2019/03/20 08:06:08

I solved the problem by changing from 3 to 600 and it helped

Post Reply