Bind and Newsyslog under FreeBSD

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Fri Dec 12 17:24:50 UTC 2003


Martin McCormick <martin at dc.cis.okstate.edu> wrote:
> 	Has anyone noticed that when running bind9 under FreeBSD, the
> logging dies when newsyslog runs and the day's log rolls over?

Nope. And i have several bind-9 on several freebsd.


How is you logging defined ? Are you logging "file" and
not vi asyslog ? Then you'll have to tell newsyslog to 
"signal" named after rotation.


> 	The work-around has been to have a cron job run just after
> newsyslog changes named's log which goes something like

> sleep 30;  /usr/local/sbin/rndc reload
 seems to strengthen my theory. 


> 	That certainly gets the logging going again with only a loss
> of 30 seconds-worth of logging, but I am wondering if anything else
> can be done to make it work like it should?

> 	I have noticed this for several years, but recently installed
> FreeBSD4.9 on a system and the latest version of bind9 and it still
> exhibits this behavior so I thought I'd say something about it.

> 	In the overall scheme of things, it is a very minor annoyance.
> Named still works fine during the no-logging period, but the log file
> simply doesn't collect any new data.

> Martin McCormick WB5AGZ  Stillwater, OK 
> OSU Information Technology Division Network Operations Group


-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list