Re: Logrotate for bind9

2018-07-05 Thread Blason R
ory default { ns_log; }; > > category general { ns_log; }; > > category config { ns_log; }; > > }; > > > > Hope this clarifies the idea a little for you. > > > > Stuart > > > > *From:* bind-users [mailto:bind-users-boun...@l

RE: Logrotate for bind9

2018-07-05 Thread Browne, Stuart via bind-users
}; }; Hope this clarifies the idea a little for you. Stuart From: bind-users [mailto:bind-users-boun...@lists.isc.org] On Behalf Of Blason R Sent: Thursday, 5 July 2018 4:44 PM To: bicw...@gmail.com Cc: bind-users Subject: Re: Logrotate for bind9 What exactly are those? Well what I wated to

Re: Logrotate for bind9

2018-07-05 Thread Blason R
What exactly are those? Well what I wated to achieve here is to rotate the logs daily and start new file; then compress On Thu, Jul 5, 2018 at 6:21 AM Rohan Henry wrote: > Why not use Bind logging option? > > On Jul 4, 2018 8:51 AM, "Blason R" wrote: > >> Hi There, >> >> I am not getting

Re: Logrotate for bind9

2018-07-04 Thread Anand Buddhdev
On 04/07/2018 17:43, Tom wrote: Hi Tom, > ...or you use "copytruncate", so the file will be copied and the other > stuff (compress, rotate 180, etc..) and then truncated, so BIND has > still the same filedescriptors open, but the logfile is rotated :-). > This way, you don't need to "rndc

Re: Logrotate for bind9

2018-07-04 Thread Tom
On 07/04/2018 04:00 PM, Anand Buddhdev wrote: On 04/07/2018 15:50, Blason R wrote: Hi There, I am not getting appropriate results for my custom daily logrorate for bind9 logs on Ubuntu. It's more useful if you show us your logrotate snippet, so we can point out what is wrong with it.

Re: Logrotate for bind9

2018-07-04 Thread Anand Buddhdev
On 04/07/2018 15:50, Blason R wrote: > Hi There, > > I am not getting appropriate results for my custom daily logrorate for > bind9 logs on Ubuntu. It's more useful if you show us your logrotate snippet, so we can point out what is wrong with it. > Can someone please help me with the settings

Logrotate for bind9

2018-07-04 Thread Blason R
Hi There, I am not getting appropriate results for my custom daily logrorate for bind9 logs on Ubuntu. Can someone please help me with the settings which would include below stuff 1. Should rotate daily 2. Compress 3. create new file 4. keep last 180 entries Do I need stop bind9