statistics-channels

statistics-channels

Post by Sten Carls » Sun, 27 Jul 2008 22:23:16


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'

--
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!"
 
 
 

statistics-channels

Post by Andy Shell » Sun, 27 Jul 2008 23:44:24

Hi,

I don't believe this should be in the options { } directive, it should
be alongside it.
e.g.:

statistics-channels {
...
};

options {
...
}

Regards,

Andy

 
 
 

statistics-channels

Post by Sten Carls » Mon, 28 Jul 2008 00:33:33

Hi

Thanks, I see now that I was fooled by the word "option" mentioned in
the ARM. My mistake.

This works. Now I need to do more reading as the only message I get is:
No such URL.

I guess I will be reading the ARM mostly from one end now.

Thanks again.





--
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!"
 
 
 

statistics-channels

Post by JINMEI Tat » Mon, 28 Jul 2008 03:43:43

At Sat, 26 Jul 2008 17:33:33 +0200,



Which part of the ARM are you referring to? If it calls
'statistics-channels' an 'option', it should be updated, but I could
not find such an occurrence from a quick search.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.
 
 
 

statistics-channels

Post by Sten Carls » Mon, 28 Jul 2008 10:56:25

I have been rereading the ARM. I seem to be the sole source of my
confusion; the ARM is NOT misleading.

I have to assume that I was in such a hurry that I did not read what was
actually written. Again my fault.

When I ask my self would there be anything that could have made me catch
this on my own?

I would consider if I would have found the list that is now at the
beginning of 6.2 if it had been in the beginning of 3, outlining the
structure of named.conf maybe formatted as the example configurations.

This is not urgent and please let us get the real trouble in control first.





--
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!"
 
 
 

statistics-channels

Post by D. Stuss » Mon, 28 Jul 2008 13:08:30


Actually, in the beta test of the function, it was in the options section.
It got moved in the final release version.