Re: named listening on LAN




Hello,

This is interesting. I tried adding this to named.conf (adapted from man
named.conf)
/* logging {
channel namedlog {
file /var/log/named/nlog;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category default { namedlog; ... };
};
*/

Of course the above was not commented in the configuration file. But when
starting named, it did not want to work. I had to comment the logging
facility and then I was able to get named to work again.

I changed the above to
logging{
channel simple_log {
file "/var/log/named/nlog" versions 3 size 5m;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category default{
simple_log;
};
};

Now bind does not die but but it cannot find the log file:
logging channel 'simple_log' file '/var/log/named/nlog': file not found

ls /var/log/named/*
/var/log/named/nlog

Why would named not be able to find the log when it is there? The nlog file
is owned by user bind and grup bind.

Thank you in advance for any suggestion you may have!

Zbigniew Szalbot

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: caching-nameserver -
    ... Schedule immediate maintenance for a zone. ... Enable updates to a frozen dynamic zone and reload it. ... querylog Toggle query logging. ... print-time yes; ...
    (Fedora)
  • Re: caching-nameserver -
    ... enabling logging via the named.caching-nameserver.conf file and had creeated empty files for the logs but these files have never been updated by named. ... print-time yes; ... > After a lot of groping around I finally realized that while they use the> dns provided by Wildblue our isp I use some different servers that I> found, open dns or some such, and apparently they have collected the> data before the isp's server? ...
    (Fedora)
  • Re: named listening on LAN
    ... print-time yes; ...
    (freebsd-questions)
  • Re: named listening on LAN
    ... print-time yes; ... the nlog file was created in /var/named/var/log automatically: ...
    (freebsd-questions)
  • Re: Logging channel: FILE NOT FOUND
    ... I un-commented the logging section of named.conf as follows: ... channel simple_log { ... print-time yes; ...
    (comp.protocols.dns.bind)