RE: difference between default views in named_statistics.txt

2012-12-31 Thread Gaurav Kansal
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-users@lists.isc.org
Subject: Re: difference between default views in named_statistics.txt

 

 

On Dec 27, 2012, at 1:05 PM, benjamin fernandis 
mailto:benjo11...@gmail.com benjo11...@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

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 |  mailto:a...@clegg.com a...@clegg.com

 

___

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

 

bind-users mailing list

 mailto:bind-users@lists.isc.org bind-users@lists.isc.org

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

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

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

Re: difference between default views in named_statistics.txt

2012-12-31 Thread benjamin fernandis
Hi,


On Mon, Dec 31, 2012 at 2:42 PM, Gaurav Kansal gaurav.kan...@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.


 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-users@lists.isc.org
 Subject: Re: difference between default views in named_statistics.txt





 On Dec 27, 2012, at 1:05 PM, benjamin fernandis benjo11...@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 | a...@clegg.com



 ___

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



 bind-users mailing list

 bind-users@lists.isc.org

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

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

Re: difference between default views in named_statistics.txt

2012-12-29 Thread Carsten Strotmann

Hello Ben,

benjamin fernandis benjo11...@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
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


difference between default views in named_statistics.txt

2012-12-27 Thread benjamin fernandis
Hi,

We are using bind as a recursive dns server in our college. It is working fine.

Now we need to make a report regarding QPS, NXDOMAIN, FORMAT ERROR,
Server Failure, Name Error, Not Implemented, Refused queries comes to
our recursive DNS SERVER.

For this we use named_statistics file which gives all information
regarding our requirement.

But when look in to named_statistics file, It shows below output,

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

+++ Statistics Dump +++ (1356630443)
 ...
 ...
 ...
[View: _bind]
++ Name Server Statistics ++
   4 IPv4 requests received
   2 requests with EDNS(0) received
   4 responses sent
   2 responses with EDNS(0) sent
   3 queries resulted in successful answer
   4 queries resulted in non authoritative answer
   1 queries resulted in NXDOMAIN
   4 queries caused recursion
++ Zone Maintenance Statistics ++
++ Resolver Statistics ++
[Common]
[View: default]
  67 IPv4 queries sent
  66 IPv4 responses received
   3 NXDOMAIN received
   8 FORMERR received
   8 EDNS(0) query failures
  10 query retries
   2 query timeouts
  12 IPv4 NS address fetches
  21 DNSSEC validation attempted
  16 DNSSEC validation succeeded
   5 DNSSEC NX validation succeeded
   6 queries with RTT 10-100ms
  60 queries with RTT 100-500ms

While making report regarding our requirement, do we need to consider
Resolver Statistics or Name Server Statistics values ?

What will be difference between  view : default and view _bind ?

Because when we look on NXDOMAIN values view: default shows 3 and
view: _bind shows 1, so as we are playing recursive dns server role in
network, from which we consider correct value for our requirement ?

if is there any nice document to understand this statistics, please share it.

Best Regards,
Ben
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: difference between default views in named_statistics.txt

2012-12-27 Thread Alan Clegg

On Dec 27, 2012, at 1:05 PM, benjamin fernandis benjo11...@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 | a...@clegg.com

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

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


Re: difference between default views in named_statistics.txt

2012-12-27 Thread benjamin fernandis
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

On Fri, Dec 28, 2012 at 5:56 AM, Alan Clegg a...@clegg.com wrote:

 On Dec 27, 2012, at 1:05 PM, benjamin fernandis benjo11...@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 | a...@clegg.com

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

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