list zones

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Tue Aug 3 17:17:58 UTC 2010


At Tue, 3 Aug 2010 12:39:05 +0300,
Mihamina Rakotomandimby <mihamina at gulfsat.mg> wrote:

> Manao ahoana, Hello, Bonjour,
> 
> Without grepping the configuration files from the system shell, is it
> possible to lists all the master zones on a running bind9? What tool
> with?

If you enable "zone-statistics" you can see a list of zones for which
the server has authority by "rndc stats".

Or, if you enable XML-based statistics (available >= 9.5) you can see
the same list in it (whether or not you enable zone-statistics).

In either case, however, the list is a mixture of primary ("master")
and secondary ("slave") servers.  So, if you specifically want to see
a list of "master"s (but not "slave"s), these may not be an option
(depending on your configuration).

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind-users mailing list