Hello.
I'm running a caching-only name server (in order to learn DNS) on my
sandbox (among other things) in order to
I'm having some issues with named completely filing my syslong with *
that I really don't care about...such as:
> Jun 24 15:16:48 foo named[7623]: Cleaned cache of 10 RRs
> Jun 24 15:16:48 foo named[7623]: USAGE 930251808 930161808 CPU=0.17u/0.07s CHILDCPU=0u/0s
> Jun 24 15:16:48 foo named[7623]: NSTATS 930251808 930161808A=118PTR=10
> Jun 24 15:16:48 foo named[7623]: XSTATS 930251808 930161808 RR=40 RNXD=6 RFwdR=25 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 RO
> pts=0 SSysQ=14 SAns=104 SFwdQ=25 SDupQ=0 SErr=0 RQ=128 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=25 SFail=0 SFErr=0 SNaAns=104 SNXD=70
> Jun 24 16:16:48 foo named[7623]: Cleaned cache of 6 RRs
> Jun 24 16:16:48 foo named[7623]: USAGE 930255408 930161808 CPU=0.17u/0.07s CHILDCPU=0u/0s
> Jun 24 16:16:48 foo named[7623]: NSTATS 930255408 930161808A=118PTR=10
> Jun 24 16:16:48 foo named[7623]: XSTATS 930255408 930161808 RR=40 RNXD=6 RFwdR=25 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 RO
> pts=0 SSysQ=14 SAns=104 SFwdQ=25 SDupQ=0 SErr=0 RQ=128 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=25 SFail=0 SFErr=0 SNaAns=104 SNXD=70
I read through the man pages for named, and I get this:
But its documentation says nothing about the configuration file'sQuote:> NOTE: The new debugging framework is considerably more so-
> phisticated than it was in older versions of NAMED. The con-
> figuration file's ``logging'' statement allows for multiple,
> distinct levels of debugging for each of a large set of cate-
> gories of events (such as queries, transfers in or out,
> etc.). Please refer to the configuration file guide included
> with this BIND distribution for further information about
> these extensive new capabilities.
''logging'' statement further than this.
So I dug through my bind documentation, and it was bad. I don't want to
recompile anything, I just want to change a config file somewhere easy
and have it dump this stuff into something like /var/log/named and leave
/var/log/mesasges alone...and if that's not possible, I don't even care
about these messages -- I can just send 'em to /dev/null...
Is there a quick and easy way to do this?
Thanks in advance
-Ethan Pinkert
--