What does the console say when you start named in foreground: named -
d 2 -f ?

I think that the option "versions" is the problem..

p

On 3 jul 2007, at 09.19, Vishwas wrote:

> Hi All,
> BIND is not logging anything into the log file. Following is my
> named.conf section for logging options.
>
> ------ logging section from /etc/bind/named.conf file -----
>
> logging {
>
> channel "debug" {
> file "/var/log/nameddbg" versions 2 size 50m;
> severity info;
> print-time yes;
> print-category yes;
> };
>
> category "default" { "debug"; };
> category "general" { "debug"; };
> category "database" { "debug"; };
> category "security" { "debug"; };
> category "config" { "debug"; };
> category "resolver" { "debug"; };
> category "xfer-in" { "debug"; };
> category "xfer-out" { "debug"; };
> category "notify" { "debug"; };
> category "client" { "debug"; };
> category "unmatched" { "debug"; };
> category "network" { "debug"; };
> category "update" { "debug"; };
> category "queries" { "debug"; };
> category "dispatch" { "debug"; };
> category "dnssec" { "debug"; };
> category "lame-servers" { "debug"; };
>
> };
>
>
>
>
> ---- rndc shows that logging is enabled ----
>
> debian:/etc/bind# rndc status
> number of zones: 5
> debug level: 0
> xfers running: 0
> xfers deferred: 0
> soa queries in progress: 0
> query logging is ON
> recursive clients: 0/1000
> tcp clients: 0/100
> server is up and running
>
> debian:/etc/bind# ls -l /var/log/nameddbg
> -rw-r--r-- 1 root adm 0 2007-06-15 16:45 /var/log/nameddbg
>
>
> I tried to ask some weired questions to my name server hoping that it
> will log such things, but nothing is getting reflected into my log
> files. Where do you see the problem?
>
> Thanking you in advance
> regards,
> Vishwas.
>
>
>
> --
> Best Regards,
> Vishwas.
> ivishwas.googlepages.com
>
> I know quite certainly that I myself have no special talent;
> curiosity, obsession and dogged endurance, combined with
> self-criticism have brought me to my ideas. - Albert Einstein
>
>