21 Apr 2016 09:50:02 UTC
- Development release
- Distribution: Net-RNDC
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (2)
- KwaliteeBus factor: 1
- License: perl_5
- Activity24 month
- Download (20.22KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionWOLFSAGE Matthew Horsfall (alh)
rndc.pl - Example rndc script for communicating with BIND.
./rndc.pl <key> <host> <command>
./rndc.pl aabc localhost status
This example script shows usage of Net::RNDC. It requires the rndc key for communicating with BIND, the hostname of the BIND to communicate with, and the command in question.
On success it outputs the response from BIND, otherwise an error prefixed with "Error: ".
Matthew Horsfall (alh) <WolfSage@gmail.com>
You may distribute this code under the same terms as Perl itself.
Module Install Instructions
To install Net::RNDC::Packet, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Net::RNDC::Packet
For more information on module installation, please visit the detailed CPAN module installation guide.