rndc status number of zones

Emil Natan shlyoko at gmail.com
Thu Mar 1 12:48:21 UTC 2012


On Thu, Mar 1, 2012 at 2:27 PM, Matthew Seaman <
m.seaman at infracaninophile.co.uk> wrote:

> On 01/03/2012 12:10, Emil Natan wrote:
> > On Thu, Mar 1, 2012 at 1:26 PM, Matthew Seaman <
> > m.seaman at infracaninophile.co.uk> wrote:
> >
> >> > On 01/03/2012 11:20, Emil Natan wrote:
> >>> > > Do any of you experience the same issue? Any ideas what I'm
> missing or
> >>> > > what's wrong?
> >> >
> >> > Automatic empty zones?
> >> >
> >> >
> > Thanks for the input. It seems you are right, adding "recursion no;" to
> > named.conf which disables the automatic empty zones, reduces the number
> of
> > zones to what I expect +1, which means named.conf with no "zone"
> > statements, "rndc status" returns "number of zones: 1", when I have 7
> zone
> > statements, the number returned is 8. So I'm still missing something. Any
> > ideas?
>
> Try:
>
>   zone-statistics yes;
>
> and then dumping statistics, or looking at the XML statistics output.
> In fact, there are 4 extra zones in the _bind view I'd expect you to see
> as well as your configured zones:
>
> [version.bind (view: _bind)]
> [hostname.bind (view: _bind)]
> [authors.bind (view: _bind)]
> [id.server (view: _bind)]
>
> I always add  "hostname none;" and  "version none;", so I believe that's
the reason I do not see what you have expected. Here is the statistics file:

+++ Statistics Dump +++ (1330605355)
++ Incoming Requests ++
++ Incoming Queries ++
++ Outgoing Queries ++
[View: default]
                  37 A
                  37 NS
                 172 AAAA
[View: _bind]
++ Name Server Statistics ++
++ Zone Maintenance Statistics ++
                   1 IPv4 notifies sent
++ Resolver Statistics ++
[Common]
[View: default]
                 182 IPv4 queries sent
                  64 IPv6 queries sent
                 238 query retries
                 174 query timeouts
                   1 IPv4 NS address fetches
                   6 IPv6 NS address fetches
[View: _bind]
++ Cache DB RRsets ++
[View: default]
[View: _bind (Cache: _bind)]
++ Socket I/O Statistics ++
                 185 UDP/IPv4 sockets opened
                  65 UDP/IPv6 sockets opened
                   3 TCP/IPv4 sockets opened
                   1 TCP/IPv6 sockets opened
                 183 UDP/IPv4 sockets closed
                  64 UDP/IPv6 sockets closed
                  15 TCP/IPv4 sockets closed
                  64 UDP/IPv6 socket connect failures
                 182 UDP/IPv4 connections established
                  16 TCP/IPv4 connections accepted
                  64 UDP/IPv6 send errors
++ Per Zone Query Statistics ++
--- Statistics Dump --- (1330605355)

ena

       Cheers,
>
>        Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
>                                                  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
> JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20120301/e5744473/attachment.html>


More information about the bind-users mailing list