statistics-channels
Andy Shellam
andy.shellam-lists at mailnetwork.co.uk
Sat Jul 26 14:44:24 UTC 2008
Hi,
I don't believe this should be in the options { } directive, it should
be alongside it.
e.g.:
statistics-channels {
...
};
options {
...
}
Regards,
Andy
Sten Carlsen wrote:
> Hi
>
> I have very recently switched to 9.50-P1 on FC9.
>
> I tried to use the option "statistics-channels", this is not accepted:
> /etc/named.conf:24: unknown option 'statistics-channels'
>
> I have this in named.conf:
> acl internalhosts { 192.168.14.0/24; 127.0.0.1; ::1; };
>
> options {
> listen-on port 53 { 127.0.0.1; internalhosts; };
> listen-on-v6 port 53 { ::1; };
> directory "/var/named";
> dump-file "/var/named/data/cache_dump.db";
> statistics-file "/var/named/data/named_stats.txt";
> memstatistics-file "/var/named/data/named_mem_stats.txt";
> statistics-channels { inet * port 81 allow internalhosts; };
> allow-query { any; };
> };
>
> This is not urgent, more like "nice to have"; but before I waste more
> time I would like to ask if this has been taken out to make the -P1
> happen in time?
>
> Or is there some other (non)obvious reason this fails?
>
> I could be worried that this might indicate a wrong version of the
> running bind? It does load with this in the log:
>
> Jul 25 21:16:10 sorte named[4799]: starting BIND 9.5.0-P1 -u named -t
> /var/named/chroot
> Jul 25 21:16:10 sorte named[4799]: found 1 CPU, using 1 worker thread
> Jul 25 21:16:10 sorte named[4799]: loading configuration from
> '/etc/named.conf'
>
>
More information about the bind-users
mailing list