GraphViz::Zone - Perl interface to graphing hosts in BIND zone files.
use GraphViz::Zone; $obj = new GraphViz::Zone(zonefile => 'myzone.zone', output => 'zone.png');
Perl interface to graphing hosts in BIND zone files.
new - Creates a new GraphViz::Zone object. Parameters:
zonefile: (mandatory) Filename for a valid BIND zone file. output: The filename to output to. Output file type is png.
This works on my system. It probably won't work on yours. If it doesn't, send me your zone file; I'll either patch the regexps to get things working, or re-write to use a proper parser instead of regexps. Also, GraphViz is prone to producing ugly graphs where a small number of nodes are involved. In this case, try upping the 'length', 'width' and 'epsilon' parameters (sparingly) in the constructor.
Plenty. Other tags (HINFO etc) as well as TXT. An option of whether to graph TXT/A or not. Organising by the IP, and into IP blocks. Lots, lots more.
Chris Ball <chris@cpan.org>
Leon Brocard's GraphViz.pm, http://www.research.att.com/sw/tools/graphviz/.
To install GraphViz::Zone, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GraphViz::Zone
CPAN shell
perl -MCPAN -e shell install GraphViz::Zone
For more information on module installation, please visit the detailed CPAN module installation guide.