Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: difference between default views in named_statistics.txt

13 views
Skip to first unread message

Alan Clegg

unread,
Dec 27, 2012, 7:26:13 PM12/27/12
to benjamin fernandis, bind-...@lists.isc.org

On Dec 27, 2012, at 1:05 PM, benjamin fernandis <benjo...@gmail.com> wrote:

> cat /var/named/chroot/var/named/data/named_stats.txt

While this may present what you want, I think you may be happier parsing the Statistics Channel...

http://ftp.isc.org/isc/bind9/cur/9.9/doc/arm/Bv9ARM.ch06.html#statschannels

While this points to the 9.9 ARM, but the statistics channel has existed since 9.5.

AlanC
--
Alan Clegg | +1-919-355-8851 | al...@clegg.com

benjamin fernandis

unread,
Dec 28, 2012, 12:25:12 AM12/28/12
to Alan Clegg, bind-...@lists.isc.org
Hi Alan,

Thanks for your kind response. I enabled statistics channel and in
that i can see

Resolver Statistics for View _default

and

Resolver Statistics for View _bind

what is the difference between these two views which also same in
named_Statistics file.

BR
Ben

Carsten Strotmann

unread,
Dec 29, 2012, 5:48:53 AM12/29/12
to benjamin fernandis, bind-...@lists.isc.org

Hello Ben,

benjamin fernandis <benjo...@gmail.com> writes:

> Resolver Statistics for View _default
>
> and
>
> Resolver Statistics for View _bind
>
> what is the difference between these two views which also same in
> named_Statistics file.

BIND 9 has this unique feature called "views" (see the BIND 9 ARM
document for a in detail discussion of "views").

Even if no views are configured in the BIND 9 configuration file
"named.conf", BIND 9 has two "internal" views that always exist:
"_default" and "_bind". The view "_default" contains all DNS zones that
are defined in named.conf and do not belong to any extra configured
view.

The view "_bind" contains all the build-in special zones that BIND 9
uses to report internal information in the CHAOS (CH) network class and
top level domain "bind" (authors.bind, version.bind, hostname.bind).

try: dig @<ip-of-your-dns-server> ch tx hostname.bind

So the statistics output give you information how many queries are
received for "normal" DNS zones (view _default) and the special build in
zone (view _bind).

Best regards

Carsten Strotmann

Gaurav Kansal

unread,
Dec 31, 2012, 4:12:48 AM12/31/12
to Alan Clegg, benjamin fernandis, bind-...@lists.isc.org

Hello Team,

 

After enabling statistics-channel in bind conf file, I am getting the following O/P in the Incoming Request table:

 

Incoming Requests

QUERY  31553047

NOTIFY 2994

UPDATE               17896

 

I just want to know whether the query count will set to ZERO after STOP/START named daemon or in case of system restart?

 

Sorry to bother you guys but I can’t STOP/START the named service at my end. That’s why I am asking this question.

 

 

 

 

Regards,

Gaurav Kansal

 

 

-----Original Message-----
From: bind-users-bounces+gaurav.kansal=nic...@lists.isc.org [mailto:bind-users-bounces+gaurav.kansal=nic...@lists.isc.org] On Behalf Of Alan Clegg
Sent: Friday, December 28, 2012 5:56 AM
To: benjamin fernandis
Cc: bind-...@lists.isc.org
Subject: Re: difference between default views in named_statistics.txt

 

 

On Dec 27, 2012, at 1:05 PM, benjamin fernandis <benjo...@gmail.com> wrote:

 

> cat /var/named/chroot/var/named/data/named_stats.txt

 

While this may present what you want, I think you may be happier parsing the Statistics Channel...

 

http://ftp.isc.org/isc/bind9/cur/9.9/doc/arm/Bv9ARM.ch06.html#statschannels

 

While this points to the 9.9 ARM, but the statistics channel has existed since 9.5.

 

AlanC

--

Alan Clegg | +1-919-355-8851 | al...@clegg.com

 

_______________________________________________

Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

 

bind-users mailing list

bind-...@lists.isc.org

https://lists.isc.org/mailman/listinfo/bind-users

benjamin fernandis

unread,
Dec 31, 2012, 7:14:05 AM12/31/12
to Gaurav Kansal, bind-...@lists.isc.org
Hi,


On Mon, Dec 31, 2012 at 2:42 PM, Gaurav Kansal <gaurav...@nic.in> wrote:
> Hello Team,
>
>
>
> After enabling statistics-channel in bind conf file, I am getting the
> following O/P in the Incoming Request table:
>
>
>
> Incoming Requests
>
> QUERY 31553047
>
> NOTIFY 2994
>
> UPDATE 17896
>
>
>
> I just want to know whether the query count will set to ZERO after
> STOP/START named daemon or in case of system restart?
>
>
yes after stop/start/restart , counter will be reset to zero.
0 new messages