DNS::ZoneParseDNS::ZoneParse is a Perl module to parse and manipulate DNS Zone Files. | |
Download |
DNS::ZoneParse Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Simon Flack
- Publisher web site:
- http://search.cpan.org/~simonflk/DNS-ZoneParse-0.95/lib/DNS/ZoneParse.pm
DNS::ZoneParse Tags
DNS::ZoneParse Description
DNS::ZoneParse is a Perl module to parse and manipulate DNS Zone Files. DNS::ZoneParse is a Perl module to parse and manipulate DNS Zone Files.SYNOPSIS use DNS::ZoneParse; my $zonefile = DNS::ZoneParse->new("/path/to/dns/zonefile.db", $origin); # Get a reference to the MX records my $mx = $zonefile->mx; # Change the first mailserver on the list $mx-> = { host => 'mail.localhost.com', priority => 10, name => '@' }; # update the serial number $zonefile->new_serial(); # write the new zone file to disk open NEWZONE, ">/path/to/dns/zonefile.db" or die "error"; print NEWZONE $zonefile->output(); close NEWZONE;INSTALLATION perl Makefile.PL make make test make install Requirements: · Perl
DNS::ZoneParse Related Software