Having trouble with logging syntax

Nate Homier bind at universal-mechanism.org
Thu Mar 3 21:09:26 UTC 2011


On Thu, 2011-03-03 at 22:47 +0200, Mark Elkins wrote:
> On Thu, 2011-03-03 at 13:30 -0700, Nate Homier wrote:
> > I got my logging setup but named-checkconf is spitting out an error.
> > 
> > $named-checkconf /home/nate/named.conf.local
> > /home/nate/named.conf.local:11: missing ';' before '3'
> > /home/nate/named.conf.local:11: unknown option '3'
> > 
> > I'm pretty sure we don't put an ; after version.  I can't see anything
> > wrong with my config.  All my ; look to be in place.  I'm using Ubuntu
> > 10.04.  This is strictly a resolver server on my personal PC at home.
> > 
> > My logging setup.
> > 
> > logging {
> > channel query.log {
> > file "/var/log/query.log" version; 3 size 5m;
> 
> 
> Should be "versions" - and no ';'
> 
> file "/var/log/query.log" versions 3 size 5m;
> 
Thank you.  I missed the s on the end of versions.  It works now.
Thanks again.



More information about the bind-users mailing list