Chris Ball > GraphViz-Zone > GraphViz::Zone

Download:
GraphViz-Zone-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

GraphViz::Zone - Perl interface to graphing hosts in BIND zone files.

SYNOPSIS ^

  use GraphViz::Zone; 
  
  $obj = new GraphViz::Zone(zonefile => 'myzone.zone', output => 'zone.png'); 

DESCRIPTION ^

 Perl interface to graphing hosts in BIND zone files.

METHOD ^

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. 

NOTES ^

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.

TODO ^

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.

AUTHOR ^

Chris Ball <chris@cpan.org>

SEE ALSO ^

Leon Brocard's GraphViz.pm, http://www.research.att.com/sw/tools/graphviz/.

syntax highlighting: