Provision::Unix::DNS - generic class for common DNS tasks
version 1.08
The Provision::Unix::DNS provides a consistent API for managing DNS zones and records regardless of the underlying DNS server. Applications make calls to Provision::Unix::DNS such as create_zone, create_zone_record, modify_zone, etc.
use Provision::Unix::DNS; my $dns = Provision::Unix::DNS->new(); $dns->zone_create( zone=>'example.com' ); $dns->zone_modify( zone=>'example.com', hostmaster=>'dnsadmin@admin-zone.com' );
Rather than write code to generate BIND zone files, tinydns data files, or API calls to various servers, write your application to use Provision::Unix::DNS instead. The higher level DNS class contains methods for each type of DNS task as well as error handling, rollback support, and logging. Based on the settings in your provision.conf file, your request will be dispatched to your DNS Server of choice. Subclasses are created for each type of DNS server.
Support is included for NicTool via its native API and tinydns. I will leave it to others (or myself in the unplanned future) to write modules to interface with other DNS servers. Good candidates for modules are BIND and PowerDNS.
Please report any bugs or feature requests to bug-unix-provision-dns at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Provision-Unix. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-unix-provision-dns at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Provision::Unix::DNS
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Provision-Unix
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Provision-Unix
CPAN Ratings
http://cpanratings.perl.org/d/Provision-Unix
Search CPAN
http://search.cpan.org/dist/Provision-Unix
Matt Simerson <msimerson@cpan.org>
This software is copyright (c) 2015 by The Network People, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Provision::Unix, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Provision::Unix
CPAN shell
perl -MCPAN -e shell install Provision::Unix
For more information on module installation, please visit the detailed CPAN module installation guide.