Re: RNDC Stats

2019-01-25 Thread Tony Finch
N. Max Pierson  wrote:
>
> Under Incoming Requests it has QUERY's among some other stats. Is this
> the total queries across all zones? If it is, it doesn't seem to add up
> to what the total of each zone added together in the per zone stats.

Hmm, good question. I suspected it might be something to do with REFUSED
queries for zones that you are not authoritative for, but that doesn't add
up for me either, because my server sent a lot more refused responses than
the difference between its overall query count and the zone query
counts...

awk '
/queries received/ {
if (n < 2) { server += $1 }
else { zones += $1 }
n += 1;
}
/REFUSED/ { refused = $1 }
END {
printf "server %d\n", server;
printf "zones %d\n", zones;
printf "difference %d\n", server - zones;
printf "refused %d\n", refused;
}
' named.stats

server 141242445
zones 141221559
difference 20886
refused 364380

Tony.
-- 
f.anthony.n.finchhttp://dotat.at/
Cape Wrath to Rattray Head including Orkney: Westerly 5 to 7, occasionally
gale 8 at first in north, becoming variable 3 or 4, then cyclonic 5 to 7
later. Slight or moderate in east, moderate or rough, occasionally very rough
in north. Showers then rain. Good, becoming moderate or poor.
___
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


RNDC Stats

2019-01-24 Thread N. Max Pierson
Hi List,

I am trying to pull some metrics from our bind servers and I don't quite
understand what some for the stats in the file really mean. What I am
looking for is total queries and then a breakdown of total queries for each
zone. Under Incoming Requests it has QUERY's among some other stats. Is
this the total queries across all zones? If it is, it doesn't seem to add
up to what the total of each zone added together in the per zone stats. Can
someone please educate me on this and let me know if I am just reading the
file incorrectly? There doesn't seem to be any documentation on the stats
file itself.

Regards,
Max
___
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


rndc stats - referral versus failure

2013-04-09 Thread M. Meadows
Looking at rndc stats output on an older BIND 9.3 nameserver versus output on a 
new BIND 9.7 nameserver. 
It seems that the 9.3 and 9.7 referrals and failures are flipped in rndc stats 
output. 
Does that make sense? 

On the 9.3 nameserver I see a boatload of referrals and almost no failures. 
On the 9.7 nameserver it's flipped : a boatload of failures and almost no 
referrals. 

Named.conf on the 2 nameservers is set up identically. 

Thanks,
Martin Meadows

  ___
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: rndc stats command

2012-07-23 Thread Ben

Hi,

Thanks for your kind response. sorry for the delay.

Currently i make a logic with shell scripts is that

i run my statistics.sh by cron via every 1 minute and collect INCOMING 
QUERY AND CACHE HIT RATIO.


CACHE HIT RATIO = (IN COMING QUERY - RECURSION )  / INCOMING QUERY.

Let say i run first time : 10.00 AM
First i clean named_Stat file and then run rndc stats command so it will 
write statistics to named_stat file and then i collect incoming query 
numbers and cache hit ratio.


Second time run same logic : 10.01 AM
so this time i again get incoming query numbers and hit ratio value and 
while plotting these by rrdtool, i remove old value ( 10.00 AM ) from 
current value ( 10.01 AM) and get actual value.


same fashion, i run above logic for time frame.

Kindly correct me , if i am running wrong logic.

when i run rndc stats , it gives me full outpur.can i get only certain 
output from it by any command or something?


My concern is that to find QPS / no. of queries per RR / hit ratio.

Best Regards,
Ben

On Jul 18 2012, Ben wrote:


Hi,

As per man page and my understanding rndc stats writes a current 
named statistics into defined file in named.conf


so suppose, if i run rndc stats command and then i take required 
information from named statistics file.


And after some time, ( after 5 minutes or approx.) when i do again 
rndc stats , so that times it provides new statistics.?


My understanding is that while running rndc stats , it writes current 
named statistics to defined file and internally it flush named 
statistics ( which wrote into file as per named.conf )


And while second time run same command , again it append fresh/new 
named statistics to defined fiel, is it so?


Or is there any interval for rndc / named to generate fresh/new 
statistics.?


Kindly correct me if I am missing something...


I think you are missing at least the following:

rndc stats *appends* to the statistics file. It doesn't overwrite
any previous contents.

rndc stats does not reset the internal statistics counters (I take
it that was what you meant by flush). They are always accumulative
from when named was last started.

From two successive set of ststistics written by rndc stats, you
can deduce what happened during the interval by taking the difference
in the values of corresponding counters, and to deduce rates you
divide by the length of the interval which you can deduce from
the difference in their timestamps

+++ Statistics Dump +++ (1342566900)
...
--- Statistics Dump --- (1342566900)
 ^^
which are in time_t format (seconds since the Unix epoch).

[What's annoyingly missing, by the way, is the time when named was
in fact started. That's present in the XML on the statistics channel,
but not in the file written by rndc stats.]




___
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


rndc stats command

2012-07-18 Thread Ben

Hi,

As per man page and my understanding rndc stats writes a current named 
statistics into defined file in named.conf


so suppose, if i run rndc stats command and then i take required 
information from named statistics file.


And after some time, ( after 5 minutes or approx.) when i do again rndc 
stats , so that times it provides new statistics.?


My understanding is that while running rndc stats , it writes current 
named statistics to defined file and internally it flush named 
statistics ( which wrote into file as per named.conf )


And while second time run same command , again it append fresh/new named 
statistics to defined fiel, is it so?


Or is there any interval for rndc / named to generate fresh/new statistics.?

Kindly correct me if I am missing something...


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: rndc stats command

2012-07-18 Thread Chris Thompson

On Jul 18 2012, Ben wrote:


Hi,

As per man page and my understanding rndc stats writes a current named 
statistics into defined file in named.conf


so suppose, if i run rndc stats command and then i take required 
information from named statistics file.


And after some time, ( after 5 minutes or approx.) when i do again rndc 
stats , so that times it provides new statistics.?


My understanding is that while running rndc stats , it writes current 
named statistics to defined file and internally it flush named 
statistics ( which wrote into file as per named.conf )


And while second time run same command , again it append fresh/new named 
statistics to defined fiel, is it so?


Or is there any interval for rndc / named to generate fresh/new statistics.?

Kindly correct me if I am missing something...


I think you are missing at least the following:

rndc stats *appends* to the statistics file. It doesn't overwrite
any previous contents.

rndc stats does not reset the internal statistics counters (I take
it that was what you meant by flush). They are always accumulative
from when named was last started.


From two successive set of ststistics written by rndc stats, you

can deduce what happened during the interval by taking the difference
in the values of corresponding counters, and to deduce rates you
divide by the length of the interval which you can deduce from
the difference in their timestamps

+++ Statistics Dump +++ (1342566900)
...
--- Statistics Dump --- (1342566900)
 ^^
which are in time_t format (seconds since the Unix epoch).

[What's annoyingly missing, by the way, is the time when named was
in fact started. That's present in the XML on the statistics channel,
but not in the file written by rndc stats.]

--
Chris Thompson
Email: c...@cam.ac.uk
___
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: Detailed Log Analysis based on rndc stats!!

2012-01-30 Thread Peter Andreev
Sorry, Shiva I have confused you. Mark is absolutely right and I was wrong.
Another way is to capture responses with tcpdump or dnscap.

2012/1/30 Mark Andrews ma...@isc.org


 In message 
 canbtt6nxwb4fqygev4x8_jl+m5ho7wfenirxzg3pgvc-kzc...@mail.gmail.com
 , Shiva Raman writes:
  Hi Peter
 
  Thanks a lot for your reply. I had enabled query-errors with debug level
 2
  in my bind logging, now i am able to log all SERVFAIL related error logs
 in
  query-errors.log. But i am unable to log the NXDOMAIN error logs .

 NXDOMAIN is not a error.  It is a *normal* response code in a well
 running system.  Asking to log NXDOMAIN is like asking to log every
 positive answer.

 Referring to Bind documentation, i enabled delegation-only
 option(which
  Logs queries that have returned NXDOMAIN as the result of a
 delegation-only
  zone or a delegation-only statement in a hint or stub zone declaration) ,
  but this also not logging the NXDOMAIN errors. Kindly guide me whether
 any
  additional parameters to be enabled in query-errors to log NXDOMAIN also.

 delegation-only does *not* log normal NXDOMAIN responses.  It logs
 answers that are *forced* to NXDOMAIN.

  Regards
 
  Shiva Raman
 --
 Mark Andrews, ISC
 1 Seymour St., Dundas Valley, NSW 2117, Australia
 PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org




-- 
--
AP
___
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: Detailed Log Analysis based on rndc stats!!

2012-01-29 Thread Shiva Raman
Hi Peter

Thanks a lot for your reply. I had enabled query-errors with debug level 2
in my bind logging, now i am able to log all SERVFAIL related error logs in
query-errors.log. But i am unable to log the NXDOMAIN error logs .
   Referring to Bind documentation, i enabled delegation-only option(which
Logs queries that have returned NXDOMAIN as the result of a delegation-only
zone or a delegation-only statement in a hint or stub zone declaration) ,
but this also not logging the NXDOMAIN errors. Kindly guide me whether any
additional parameters to be enabled in query-errors to log NXDOMAIN also.

Regards

Shiva Raman

On Tue, Jan 17, 2012 at 9:11 PM, Peter Andreev andreev.pe...@gmail.comwrote:


 2012/1/17 Shiva Raman raman.shi...@gmail.com

  Hi All

  i am running  Bind version 9.8.1  as an Authoritative Name server. From
 the rndc.stats , i observe that there are some query failures happening
 in the server. I am trying to get a detailed information of this query
 failures, but the current logging options is not allowing me to get a
 detailed
 report on the reason of failure. I tried enabling detailed logs, but that
 is also not providing me which all queries failed with  NXDOMAIN ,
 SERVFAILetc.

  Please find  the ouptut of named.stats and Logging options enabled in
 named.conf

 Output of /chroot/named/conf/named.stats
 --

 +++ Statistics Dump +++ (1326803941)
 ++ Incoming Requests ++
75808 QUERY
 ++ Incoming Queries ++
75786 A
   22 PTR
 ++ Outgoing Queries ++
 [View: default]
 7374 A
13410 NS
   97 PTR
 [View: _bind]
 ++ Name Server Statistics ++
75808 IPv4 requests received
75781 requests with ADNS(0) received
75019 responses sent
75003 responses with ADNS(0) sent
 2848 queries resulted in successful answer
72340 queries resulted in authoritative answer
 2239 queries resulted in non authoritative answer
  440 queries resulted in SERVFAIL
71731 queries resulted in NXDOMAIN
 3466 queries caused recursion
  789 duplicate queries received
 ++ Zone Maintenance Statistics ++
 ++ Resolver Statistics ++
 [Common]
 [View: default]
20881 IPv4 queries sent
 5283 IPv4 responses received
  111 NXDOMAIN received
 2533 SERVFAIL received
16195 query retries
15598 query timeouts
  450 IPv4 NS address fetches
6 IPv4 NS address fetch failed
 4226 queries with RTT  10ms
   17 queries with RTT 10-100ms
  869 queries with RTT 100-500ms
   82 queries with RTT 500-800ms
   37 queries with RTT 800-1600ms
   52 queries with RTT  1600ms
 [View: _bind]
 ++ Cache DB RRsets ++
 [View: default]
   72 A
   24 NS
5 CNAME
5 NXDOMAIN
 [View: _bind (Cache: _bind)]
 ++ Socket I/O Statistics ++
20886 UDP/IPv4 sockets opened
4 TCP/IPv4 sockets opened
20883 UDP/IPv4 sockets closed
 3910 TCP/IPv4 sockets closed
2 UDP/IPv4 socket bind failures
20881 UDP/IPv4 connections established
 3911 TCP/IPv4 connections accepted
 ++ Per Zone Query Statistics ++
 --- Statistics Dump --- (1326803941)


 Logging options in /etc/named.conf
 


 // Logging options
 logging {
 // logging option for named  process
 channel default_debug {
 file /logs/named.log versions 10 size 500m;
 print-time yes;
 print-category yes;
 severity dynamic;
 };

 channel queries { // logging option for queries to
 named
 file /logs/query.log versions 20 size 500m;
 print-time yes;
 print-category yes;
 severity dynamic;
 };

   category default { default_debug; };
   category queries { null; };   // comment this line to log queries
   category queries { queries; };// uncomment this to log queries
   category config { default_debug; };
   category security { default_debug; };
   category network { default_debug; };
   category lame-servers { null; };
   category general { null; };
   category edns-disabled { null; };
  };


 ---

 Kindly let me know the procedure to follow/options to enabled in logs  to
 get a detailed report of queries w.r.to  the following lines.

440 queries resulted in SERVFAIL
71731 

Re: Detailed Log Analysis based on rndc stats!!

2012-01-29 Thread Mark Andrews

In message canbtt6nxwb4fqygev4x8_jl+m5ho7wfenirxzg3pgvc-kzc...@mail.gmail.com
, Shiva Raman writes:
 Hi Peter
 
 Thanks a lot for your reply. I had enabled query-errors with debug level 2
 in my bind logging, now i am able to log all SERVFAIL related error logs in
 query-errors.log. But i am unable to log the NXDOMAIN error logs .

NXDOMAIN is not a error.  It is a *normal* response code in a well
running system.  Asking to log NXDOMAIN is like asking to log every
positive answer.

Referring to Bind documentation, i enabled delegation-only option(which
 Logs queries that have returned NXDOMAIN as the result of a delegation-only
 zone or a delegation-only statement in a hint or stub zone declaration) ,
 but this also not logging the NXDOMAIN errors. Kindly guide me whether any
 additional parameters to be enabled in query-errors to log NXDOMAIN also.

delegation-only does *not* log normal NXDOMAIN responses.  It logs
answers that are *forced* to NXDOMAIN.

 Regards
 
 Shiva Raman
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
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: rndc stats - 9.5.0-p2

2009-02-18 Thread Cihan Subasi (Garanti Teknoloji)
 
As you see below the files are dated 15 august, we upgraded our 2 server in 
august and 2 in november, could it be first 2 servers have an early version of 
p2 and things are changed after that time in the stats. Because all the file 
sizes are different compaped to newest servers.

#which named
/usr/local/sbin/named
 /data/log/named
#ls -la /usr/local/sbin/
total 53894
drwxr-xr-x   2 root other512 Feb 17 14:52 .
drwxr-xr-x  13 root other512 Nov 21 14:02 ..
-rwxr-xr-x   1 root other1199932 Aug 15  2008 dnssec-keygen
-rwxr-xr-x   1 root other3675504 Aug 15  2008 dnssec-signzone
-rwxr-xr-x   2 root other5134128 Aug 15  2008 lwresd
-rwxr-xr-x   2 root other5134128 Aug 15  2008 named
-rwxr-xr-x   1 root other3816336 Aug 15  2008 named-checkconf
-rwxr-xr-x   1 root other3624412 Aug 15  2008 named-checkzone
lrwxrwxrwx   1 root other 15 Aug 15  2008 named-compilezone - 
named-checkzone
-rwxr-xr-x   1 root other 847676 Aug 15  2008 rndc
-rwxr-xr-x   1 root other1136800 Aug 15  2008 rndc-confgen
-rwxr-xr-x   1 root other2917848 Feb 17 14:52 rndcnew01

-Original Message-
From: Jeremy C. Reed [mailto:jeremy_r...@isc.org] 
Sent: Tuesday, February 17, 2009 4:03 PM
To: Cihan Subasi (Garanti Teknoloji)
Cc: bind-users@lists.isc.org
Subject: RE: rndc stats - 9.5.0-p2

Make sure you are really talking to the correct named. Maybe a you have a 
rndc.conf file.


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


RE: rndc stats - 9.5.0-p2

2009-02-18 Thread Jeremy C. Reed
On Wed, 18 Feb 2009, Cihan Subasi (Garanti Teknoloji) wrote:

 As you see below the files are dated 15 august, we upgraded our 2 server 
 in august and 2 in november, could it be first 2 servers have an early 
 version of p2 and things are changed after that time in the stats. 
 Because all the file sizes are different compaped to newest servers.

ISC did not release two different versions with identical filename 
nor version numbering.

Again make sure you are really talking to the correct named. Maybe you 
have a rndc.conf file.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


RE: rndc stats - 9.5.0-p2

2009-02-18 Thread Cihan Subasi (Garanti Teknoloji)
I checked and there isnt any rndc.conf...

 /var/named
#
 /var/named
#find / -name rndc.conf
 /var/named
#  
 /var/named
#
 /var/named
#

And which named points to /usr/local/sbin/named (there isnt any other named 
either)  and rndc stats dumps stats as follows

  4:00pm  up 435 day(s),  3:14,  0 users,  load average: 0.01, 0.02, 0.02
+++ Statistics Dump +++ (1234965975)
success 277866617
referral 163684
nxrrset 111597721
nxdomain 17996313
recursion 191169
failure 41001785
--- Statistics Dump --- (1234965975)
~

-Original Message-
From: Jeremy C. Reed [mailto:jeremy_r...@isc.org] 
Sent: Wednesday, February 18, 2009 3:51 PM
To: Cihan Subasi (Garanti Teknoloji)
Cc: bind-users@lists.isc.org
Subject: RE: rndc stats - 9.5.0-p2

On Wed, 18 Feb 2009, Cihan Subasi (Garanti Teknoloji) wrote:

 As you see below the files are dated 15 august, we upgraded our 2 
 server in august and 2 in november, could it be first 2 servers have 
 an early version of p2 and things are changed after that time in the stats.
 Because all the file sizes are different compaped to newest servers.

ISC did not release two different versions with identical filename nor version 
numbering.

Again make sure you are really talking to the correct named. Maybe you have a 
rndc.conf file.


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


RE: rndc stats - 9.5.0-p2

2009-02-18 Thread Cihan Subasi (Garanti Teknoloji)
#/usr/local/sbin/named -v
BIND 9.5.0-P2
 /var/named
#which named
/usr/local/sbin/named
 /var/named
#which rndc
/usr/local/sbin/rndc
 /var/named 

-Original Message-
From: Jeremy C. Reed [mailto:jeremy_r...@isc.org] 
Sent: Wednesday, February 18, 2009 3:51 PM
To: Cihan Subasi (Garanti Teknoloji)
Cc: bind-users@lists.isc.org
Subject: RE: rndc stats - 9.5.0-p2

On Wed, 18 Feb 2009, Cihan Subasi (Garanti Teknoloji) wrote:

 As you see below the files are dated 15 august, we upgraded our 2 
 server in august and 2 in november, could it be first 2 servers have 
 an early version of p2 and things are changed after that time in the stats.
 Because all the file sizes are different compaped to newest servers.

ISC did not release two different versions with identical filename nor version 
numbering.

Again make sure you are really talking to the correct named. Maybe you have a 
rndc.conf file.


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


RE: rndc stats - 9.5.0-p2

2009-02-18 Thread Jeremy C. Reed
Maybe you need to fully stop the process and restart it. (Maybe old named 
is still running even though you replaced the binary.)
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


rndc stats - 9.5.0-p2

2009-02-17 Thread Cihan Subasi (Garanti Teknoloji)
Hi,

When I run rndc stats on two different servers with 9.5.0-p2,  I am getting 
two different dumps of stats, one of them dumps the stats in very short format 
(7 lines), the other dumps it in very long format (50-60lines per dump)..What 
could be the difference on both? thank you


SHORT

+++ Statistics Dump +++ (1234821660)
success 276836710
referral 161176
nxrrset 87427
nxdomain 17918582
recursion 190395
failure 40629328


LONG

+++ Statistics Dump +++ (1234524979)
++ Incoming Requests ++
   12807 QUERY
++ Incoming Queries ++
8373 A
  96 NS
 370 SOA
 495 PTR
2420 MX
 621 
 144 SRV
 288 ANY
++ Outgoing Queries ++
++ Name Server Statistics ++
   12807 IPv4 requests received
   1 requests with EDNS(0) received
   12597 responses sent
   1 responses with EDNS(0) sent
2052 queries resulted in successful answer
 638 queries resulted in authoritative answer
1861 queries resulted in non authoritative answer
   1 queries resulted in referral answer
  53 queries resulted in nxrrset
   10098 queries resulted in SERVFAIL
 393 queries resulted in NXDOMAIN
   11649 queries caused recursion
 186 duplicate queries received
   4 queries dropped
++ Zone Maintenance Statistics ++
++ Resolver Statistics ++
[Common]
  72 mismatch responses received
++ Cache DB RRsets ++
[View: default]
3313 A
1855 NS
  37 CNAME
  12 PTR
 550 MX
 141 
  43 RRSIG
  23 NSEC
   6 !A
  27 !MX
   1 !
 176 NXDOMAIN
[View: _bind]




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

Re: rndc stats - 9.5.0-p2

2009-02-17 Thread Chris Thompson

On Feb 17 2009, Cihan Subasi (Garanti Teknoloji) wrote:


When I run rndc stats on two different servers with 9.5.0-p2,  I am getting
two different dumps of stats, one of them dumps the stats in very short format
(7 lines), the other dumps it in very long format (50-60lines per dump)..What
could be the difference on both? thank you


Are you *sure* they are both running BIND 9.5.0-P2 ? Much the most likely
explanation is that the one producing short statistics is a pre 9.5 version.
I don't believe that BIND 9.5.x even includes any code to generate the old
format.

--
Chris Thompson
Email: c...@cam.ac.uk
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


RE: rndc stats - 9.5.0-p2

2009-02-17 Thread Cihan Subasi (Garanti Teknoloji)
I think you're rigth, when I check the file sizes they are not same but 
versions are matching...

short

--
#ls -la
total 48166
drwxr-xr-x   2 root other512 Aug 15  2008 .
drwxr-xr-x  13 root other512 Nov 21 14:02 ..
-rwxr-xr-x   1 root other1199932 Aug 15  2008 dnssec-keygen
-rwxr-xr-x   1 root other3675504 Aug 15  2008 dnssec-signzone
-rwxr-xr-x   2 root other5134128 Aug 15  2008 lwresd
-rwxr-xr-x   2 root other5134128 Aug 15  2008 named
-rwxr-xr-x   1 root other3816336 Aug 15  2008 named-checkconf
-rwxr-xr-x   1 root other3624412 Aug 15  2008 named-checkzone
lrwxrwxrwx   1 root other 15 Aug 15  2008 named-compilezone - 
named-checkzone
-rwxr-xr-x   1 root other 847676 Aug 15  2008 rndc
-rwxr-xr-x   1 root other1136800 Aug 15  2008 rndc-confgen
 /usr/local/sbin
#named -v
BIND 9.5.0-P2
 /usr/local/sbin

long--
[garanti2]/usr/local/sbinls -la 
total 158646
drwxr-xr-x   2 bin  bin  512 Nov 26 17:10 .
drwxr-xr-x  15 root other512 Nov 26 17:01 ..
-rwxr-xr-x   1 root other3318808 Nov 26 17:10 dnssec-keygen
-rwxr-xr-x   1 bin  bin  5182984 Mar 25  2004 dnssec-makekeyset
-rwxr-xr-x   1 bin  bin  5184180 Mar 25  2004 dnssec-signkey
-rwxr-xr-x   1 root other9997148 Nov 26 17:10 dnssec-signzone
-rwxr-xr-x   2 root other15535428 Nov 26 17:10 lwresd
-rwxr-xr-x   2 root other15535428 Nov 26 17:10 named
-rwxr-xr-x   1 root other10443912 Nov 26 17:10 named-checkconf
-rwxr-xr-x   1 root other9923952 Nov 26 17:10 named-checkzone
lrwxrwxrwx   1 root other 15 Nov 26 17:10 named-compilezone - 
named-checkzone
-rwxr-xr-x   1 root other2917848 Nov 26 17:10 rndc
-rwxr-xr-x   1 root other3061584 Nov 26 17:10 rndc-confgen
[garanti2]/usr/local/sbinnamed -v
BIND 9.5.0-P2

 

-Original Message-
From: Chris Thompson [mailto:c...@hermes.cam.ac.uk] On Behalf Of Chris Thompson
Sent: Tuesday, February 17, 2009 2:40 PM
To: Cihan Subasi (Garanti Teknoloji)
Cc: Bind Users Mailing List
Subject: Re: rndc stats - 9.5.0-p2

On Feb 17 2009, Cihan Subasi (Garanti Teknoloji) wrote:

When I run rndc stats on two different servers with 9.5.0-p2,  I am 
getting two different dumps of stats, one of them dumps the stats in 
very short format
(7 lines), the other dumps it in very long format (50-60lines per 
dump)..What could be the difference on both? thank you

Are you *sure* they are both running BIND 9.5.0-P2 ? Much the most likely 
explanation is that the one producing short statistics is a pre 9.5 version.
I don't believe that BIND 9.5.x even includes any code to generate the old 
format.

--
Chris Thompson
Email: c...@cam.ac.uk


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


RE: rndc stats - 9.5.0-p2

2009-02-17 Thread Matthew Huff
There may be more than one named binary in your path. You may want to do
an explicit reference to check the version (./named -V) or do a which
named


Matthew Huff   | One Manhattanville Rd
OTA Management LLC | Purchase, NY 10577
http://www.ox.com  | Phone: 914-460-4039
aim: matthewbhuff  | Fax:   914-460-4139



 -Original Message-
 From: bind-users-boun...@lists.isc.org [mailto:bind-users-
 boun...@lists.isc.org] On Behalf Of Cihan Subasi (Garanti Teknoloji)
 Sent: Tuesday, February 17, 2009 7:51 AM
 To: bind-users@lists.isc.org
 Cc: c...@hermes.cam.ac.uk
 Subject: RE: rndc stats - 9.5.0-p2
 
 I think you're rigth, when I check the file sizes they are not same but
 versions are matching...
 
 short
 
 --
 #ls -la
 total 48166
 drwxr-xr-x   2 root other512 Aug 15  2008 .
 drwxr-xr-x  13 root other512 Nov 21 14:02 ..
 -rwxr-xr-x   1 root other1199932 Aug 15  2008 dnssec-keygen
 -rwxr-xr-x   1 root other3675504 Aug 15  2008 dnssec-signzone
 -rwxr-xr-x   2 root other5134128 Aug 15  2008 lwresd
 -rwxr-xr-x   2 root other5134128 Aug 15  2008 named
 -rwxr-xr-x   1 root other3816336 Aug 15  2008 named-checkconf
 -rwxr-xr-x   1 root other3624412 Aug 15  2008 named-checkzone
 lrwxrwxrwx   1 root other 15 Aug 15  2008 named-compilezone
 - named-checkzone
 -rwxr-xr-x   1 root other 847676 Aug 15  2008 rndc
 -rwxr-xr-x   1 root other1136800 Aug 15  2008 rndc-confgen
  /usr/local/sbin
 #named -v
 BIND 9.5.0-P2
  /usr/local/sbin
 
 long--
 [garanti2]/usr/local/sbinls -la
 total 158646
 drwxr-xr-x   2 bin  bin  512 Nov 26 17:10 .
 drwxr-xr-x  15 root other512 Nov 26 17:01 ..
 -rwxr-xr-x   1 root other3318808 Nov 26 17:10 dnssec-keygen
 -rwxr-xr-x   1 bin  bin  5182984 Mar 25  2004 dnssec-makekeyset
 -rwxr-xr-x   1 bin  bin  5184180 Mar 25  2004 dnssec-signkey
 -rwxr-xr-x   1 root other9997148 Nov 26 17:10 dnssec-signzone
 -rwxr-xr-x   2 root other15535428 Nov 26 17:10 lwresd
 -rwxr-xr-x   2 root other15535428 Nov 26 17:10 named
 -rwxr-xr-x   1 root other10443912 Nov 26 17:10 named-checkconf
 -rwxr-xr-x   1 root other9923952 Nov 26 17:10 named-checkzone
 lrwxrwxrwx   1 root other 15 Nov 26 17:10 named-compilezone
 - named-checkzone
 -rwxr-xr-x   1 root other2917848 Nov 26 17:10 rndc
 -rwxr-xr-x   1 root other3061584 Nov 26 17:10 rndc-confgen
 [garanti2]/usr/local/sbinnamed -v
 BIND 9.5.0-P2
 
 
 
 -Original Message-
 From: Chris Thompson [mailto:c...@hermes.cam.ac.uk] On Behalf Of Chris
 Thompson
 Sent: Tuesday, February 17, 2009 2:40 PM
 To: Cihan Subasi (Garanti Teknoloji)
 Cc: Bind Users Mailing List
 Subject: Re: rndc stats - 9.5.0-p2
 
 On Feb 17 2009, Cihan Subasi (Garanti Teknoloji) wrote:
 
 When I run rndc stats on two different servers with 9.5.0-p2,  I am
 getting two different dumps of stats, one of them dumps the stats in
 very short format
 (7 lines), the other dumps it in very long format (50-60lines per
 dump)..What could be the difference on both? thank you
 
 Are you *sure* they are both running BIND 9.5.0-P2 ? Much the most
 likely explanation is that the one producing short statistics is a pre
 9.5 version.
 I don't believe that BIND 9.5.x even includes any code to generate the
 old format.
 
 --
 Chris Thompson
 Email: c...@cam.ac.uk
 
 
 ___
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users


Matthew Huff.vcf
Description: Binary data


smime.p7s
Description: S/MIME cryptographic signature
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users