list zones

2010-08-03 Thread Mihamina Rakotomandimby
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?

Misaotra, Thanks, Merci.

-- 

   Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 56 000 19
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: list zones

2010-08-03 Thread Phil Mayers

On 03/08/10 10:39, Mihamina Rakotomandimby 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?


How about this:

# add this to named.conf
statistics-channels {
 inet * port 987 allow { localhost; };
};

# put this in a "zones.xsl" file

http://www.w3.org/1999/XSL/Transform";>



zone 





# get the stats and render to text
wget -O stats.xml http://localhost:987/
xsltproc zones.xsl stats.xml
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: list zones

2010-08-03 Thread JINMEI Tatuya / 神明達哉
At Tue, 3 Aug 2010 12:39:05 +0300,
Mihamina Rakotomandimby  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.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: list zones

2010-08-03 Thread Mihamina Rakotomandimby
> p.may...@imperial.ac.uk :
>How about this:

Very good!
Thank you. 

-- 

   Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 56 000 19
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users