Re: statistics-channels - DNS

This is a discussion on Re: statistics-channels - DNS ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: statistics-channels

  1. Re: statistics-channels

    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.

    Andy Shellam wrote:
    > 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'
    >>
    >>
    >>

    >
    >



    --
    Best regards

    Sten Carlsen

    No improvements come from shouting:

    "MALE BOVINE MANURE!!!"



  2. Re: statistics-channels

    "Sten Carlsen" wrote in message
    news:g6fj9g$1ba4$1@sf1.isc.org...
    > Thanks, I see now that I was fooled by the word "option" mentioned in
    > the ARM. My mistake.


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




+ Reply to Thread