rndc status number of zones

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Mar 1 12:27:30 UTC 2012


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)]

	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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20120301/45de2c2d/attachment.bin>


More information about the bind-users mailing list