statistics file and views

Sébastien WENSKE sebastien at wenske.fr
Tue Sep 24 16:16:30 UTC 2013


Yes, I can see the queries in the log file.

Warren Kumari <warren at kumari.net> a écrit :


Probably a stupid question, but are you sure that any queries are matching / hitting your external view?

W
On Sep 24, 2013, at 9:06 AM, Sébastien WENSKE <sebastien at wenske.fr> wrote:

> Hi List,
>
> I have the feeling that something is wrong with my stats, external view is empty.
>
> Do I set something other in addition to "statistics-file "/var/cache/bind/named.stats";" ?
>
> Many thanks.
> Sebastien W
>
> root at dns01:/var/cache/bind# cat named.stats
> +++ Statistics Dump +++ (1380038757)
> ++ Incoming Requests ++
>              226139 QUERY
>                   1 IQUERY
>                 241 NOTIFY
> ++ Incoming Queries ++
>              198153 A
>                 155 NS
>                   7 CNAME
>                 265 SOA
>               12900 PTR
>                2146 MX
>                 932 TXT
>                9741 AAAA
>                1267 SRV
>                  20 A6
>                  72 DS
>                 417 SPF
>                  64 ANY
> ++ Outgoing Queries ++
> [View: internal]
>              169685 A
>                   3 NS
>                  90 SOA
>               10516 PTR
>                 560 MX
>                 300 TXT
>                5312 AAAA
>                 539 SRV
>                 372 SPF
> [View: external]
> [View: _bind]
> ++ Name Server Statistics ++
>              226383 IPv4 requests received
>              173366 requests with EDNS(0) received
>                 380 TCP requests received
>                   7 recursive queries rejected
>              224763 responses sent
>                 382 truncated responses sent
>              172256 responses with EDNS(0) sent
>              203630 queries resulted in successful answer
>               30003 queries resulted in authoritative answer
>              194283 queries resulted in non authoritative answer
>                   2 queries resulted in referral answer
>                7910 queries resulted in nxrrset
>                 226 queries resulted in SERVFAIL
>               12744 queries resulted in NXDOMAIN
>              154080 queries caused recursion
>                1613 duplicate queries received
>                   7 queries dropped
>                   7 other query failures
> ++ Zone Maintenance Statistics ++
>                 354 IPv4 notifies sent
>                 240 IPv4 notifies received
>                 111 notifies rejected
>                 890 IPv4 SOA queries sent
>                   2 IPv4 AXFR requested
>                 126 IPv4 IXFR requested
>                 125 transfer requests succeeded
>                   3 transfer requests failed
> ++ Resolver Statistics ++
> [Common]
> [View: internal]
>              187346 IPv4 queries sent
>                  31 IPv6 queries sent
>              170546 IPv4 responses received
>                8886 NXDOMAIN received
>                 283 SERVFAIL received
>                  21 other errors received
>                  11 truncated responses received
>                   9 lame delegations received
>               17046 query retries
>               16800 query timeouts
>                 173 IPv4 NS address fetches
>                 212 IPv6 NS address fetches
>                   4 IPv4 NS address fetch failed
>                 130 IPv6 NS address fetch failed
>                 209 queries with RTT < 10ms
>              165753 queries with RTT 10-100ms
>                4474 queries with RTT 100-500ms
>                  45 queries with RTT 500-800ms
>                  42 queries with RTT 800-1600ms
>                  19 queries with RTT > 1600ms
> [View: external]
> [View: _bind]
> ++ Cache DB RRsets ++
> [View: internal (Cache: internal)]
>                2197 A
>                  37 NS
>                2551 CNAME
>                 128 PTR
>                  52 MX
>                  55 TXT
>                  38 AAAA
>                   4 SRV
>                   3 DS
>                  37 RRSIG
>                   2 NSEC
>                   2 SPF
>                   2 !A
>                   1 !MX
>                  11 !TXT
>                  10 !AAAA
>                  26 !SPF
>                  82 NXDOMAIN
> [View: external (Cache: external)]
> [View: _bind (Cache: _bind)]
> ++ Socket I/O Statistics ++
>              188348 UDP/IPv4 sockets opened
>                  31 UDP/IPv6 sockets opened
>                 147 TCP/IPv4 sockets opened
>                   1 TCP/IPv6 sockets opened
>              188346 UDP/IPv4 sockets closed
>                  31 UDP/IPv6 sockets closed
>                 813 TCP/IPv4 sockets closed
>                   3 UDP/IPv4 socket bind failures
>                  31 UDP/IPv6 socket connect failures
>              187335 UDP/IPv4 connections established
>                 144 TCP/IPv4 connections established
>                 670 TCP/IPv4 connections accepted
>                  31 UDP/IPv6 send errors
>                   4 UDP/IPv4 recv errors
> ++ Per Zone Query Statistics ++
> --- Statistics Dump --- (1380038757)
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>

--
"Working the ICANN process is like being nibbled to death by ducks,
it takes forever, it doesn't make sense, and in the end we're still dead in the water."
    -- Tom Galvin, VeriSign's vice president for government relations.





More information about the bind-users mailing list