The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lim::Plugin::DNS::CLI - CLI class for DNS Manager Lim plugin

VERSION

See Lim::Plugin::DNS for version.

SYNOPSIS

  use Lim::Plugin::DNS;
  
  # Create a CLI object
  $cli = Lim::Plugin::DNS->CLI;

METHODS

These methods are called from the Lim framework and should not be used else where.

Please see Lim::Plugin::DNS for full documentation of calls.

$cli->zones

List existing zones and related software.

$cli->zone("create", "[--software <software>] <zone name> <local zone file>")

Create a new zone with the content of a local zone file.

$cli->zone("read", "[--software <software>] <zone names ... >")

Read zones and display content.

$cli->zone("update", "[--software <software>] <zone name> <local zone file>")

Update a existing zone with the content of a local zone file.

$cli->zone("delete", "[--software <software>] <zone name>")

Delete the specified zone.

$cli->option("create", "[--software <software>] <zone name> <option name> <option values ... >")

Create a new zone option in the an existing zone.

$cli->option("read", "[--software <software>] <zone name> [option name]")

Read and display the specified option, or all if not given, from the zone.

$cli->option("update", "[--software <software>] <zone name> <option name> <option values ... >")

Update an existing option in a zone.

$cli->option("delete", "[--software <software>] <zone name> <option name>")

Delete the specified option from a zone.

$cli->rr("create", "[--software <software>] [--ttl <ttl>] [--class <class>] <zone name> <rr name> <rr type> <rr data ... >")

Create a new resource record in an existing zone.

$cli->rr("read", "[--software <software>] <zone name> [rr name]")

Read and display the specified resource record, or all if not given, from the zone.

$cli->rr("update", "[--software <software>] [--ttl <ttl>] [--class <class>] <zone name> <rr name> <rr type> <rr data ... >")

Update an existing resource record in a zone.

$cli->rr("delete", "[--software <software>] <zone name> <rr name>")

Delete the specified resource record from a zone.

AUTHOR

Jerry Lundström, <lundstrom.jerry at gmail.com>

BUGS

Please report any bugs or feature requests to https://github.com/jelu/lim-plugin-dns/issues.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Lim::Plugin::DNS

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012-2013 Jerry Lundström.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.