problem with local zones

Nate Campi nate at wired.com
Wed Dec 5 18:14:36 UTC 2001


You have to go to some trouble to set it up to log the way you have it,
so people don't often ask how to *stop* logging this way, but how to do
it in the first place :)

You likely have some logging statements similar to this:
  
  logging {
    channel my_syslog {
       syslog daemon;
       severity info;
    };
    channel my_file {
       file "log.msgs" versions 3 size 10M;
       severity dynamic;
       print-category yes;
       print-severity yes;
    };
  
    category statistics { my_syslog; my_file; };
    category queries { my_file; };
    category panic    { default_syslog; my_file; };
    category eventlib { my_file; };
    category packet   { my_file; };
    category default { my_syslog; };
  };
  
This is pretty much straight out of Cricket's book, "DNS & BIND."

To get the default logging behavior, you can send BIND a USR2 signal. 

# ps -ef|grep named

... get BIND's process id...

# kill -USR2 $pid_of_named_process

Unless you run BIND at an increased debugging level you shouldn't get 
these logs. I keep entries like this in my named.conf in case of 
emergency, then all I have to do is send BIND a USR1 for each level of 
debugging I want. When I'm done collecting logs I send BIND a single 
USR2 and the logging stops.

Hope this helps.

On Wed, Dec 05, 2001 at 03:02:47PM -0300, tadeu wrote:
> 
> Thanks Michael.
> 
> 
> I am using Bind 8.2.4 name server.  I don't know how
> can I configure my named.conf for not log this
> messages.
> 
> 
> in logs.msgs
> 
> > evSetTimer(ctx 0x1108f0, func 0x32a2c, uap 0, due
> > 1007571457.000000000, inter 0.000000000)
> > pselect(24, 0xf00060, 0x0, 0x0, 0.989453000)
> 
> 
> > free_nsp: E.ROOT-SERVERS.NET rcnt 4
> > free_nsp: D.ROOT-SERVERS.NET rcnt 4
> > free_nsp: A.ROOT-SERVERS.NET rcnt 4
> > free_nsp: H.ROOT-SERVERS.NET rcnt 4
> > free_nsp: C.ROOT-SERVERS.NET rcnt 4
> > free_nsp: G.ROOT-SERVERS.NET rcnt 4
> > free_nsp: F.ROOT-SERVERS.NET rcnt 4
> > free_nsp: B.ROOT-SERVERS.NET rcnt 4
> > free_nsp: J.ROOT-SERVERS.NET rcnt 4
> > free_nsp: K.ROOT-SERVERS.NET rcnt 4
> > free_nsp: L.ROOT-SERVERS.NET rcnt 4
> > free_nsp: M.ROOT-SERVERS.NET rcnt 4
> > free_nsp: I.ROOT-SERVERS.NET rcnt 4
> > pselect(24, 0xf00060, 0x0, 0x0, 0.786223000)
> >
> >
> > Thanks.
> 
> _______________________________________________________________________________________________
> Yahoo! GeoCities
> Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil e grátis!
> http://br.geocities.yahoo.com/
> 

-- 
Nate Campi | Terra Lycos DNS | SF UNIX Operations | (415) 276-8678

All data leaves a trail. The search for data leaves a trail. The erasure of
data leaves a trail.The absence of data, under the right circumstances, can
leave the clearest trail of all.                             Dr. Kio Masada



More information about the bind-users mailing list