list zones
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
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 ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=isc/bind/statistics xsl:for-each select=views/view xsl:for-each select=zones/zone zone xsl:value-of select=name/ /xsl:for-each /xsl:for-each /xsl:template /xsl:stylesheet # 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
At Tue, 3 Aug 2010 12:39:05 +0300, Mihamina Rakotomandimby miham...@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 masters (but not slaves), 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
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