Provided by: libnet-dns-cloudflare-ddns-perl_0.63.1-1_all bug

NAME

       Net::DNS::CloudFlare::DDNS - Object Orientated Dynamic DNS Interface to CloudFlare DNS

VERSION

       version v0.63.1

SYNOPSIS

       Provides an object orientated dynamic DNS interface for CloudFlare

           use Net::DNS::CloudFlare::DDNS;

           my $ddns = Net::DNS::CloudFlare::DDNS->new(
               user   => $CF_USER,
               apikey => $CF_KEY,
               zones  => $ZONE_CONF
           );
           $ddns->update();
           ...

ATTRIBUTES

   verbose
       Whether or not the object should be verbose

           # Verbosity on
           $ddns->verbose(1);

           # Verbosity off
           $ddns->verbose(0);

           # Print current verbosity
           say $ddns->verbose;

METHODS

   new
       Create a new Dynamic DNS object

           my $ddns = Net::DNS::CloudFlare::DDNS->new(
               # Required
               user    => $CF_USER,
               apikey  => $CF_KEY,
               zones   => $ZONE_CONF,
               # Optional
               verbose => $VERB_LVL
           );

       The zones specifies the zones and records which will be updated. Its structure is as
       follows

           # Array of
           [
               # Hashes of
               {
                   # DNS Zone
                   zone    => $zone_name_1,
                   # Domains to be updated in this zone
                   domains => [
                       $domain_1, ..., $domain_n
                   ]
               },
               ...
               {
                   zone    => $zone_name_n,
                   domains => [
                       $domain_1, ..., $domain_n
                   ]
               }
           ]

       Each domain is an A record within a zone or undef for the zone itself

   update
       Updates CloudFlare DNS with the current IP address if necessary

           $ddns->update

BUGS

       Please report any bugs or feature requests to "bug-net-dns-cloudflare-ddns at
       rt.cpan.org", or through the web interface at
       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-DNS-CloudFlare-DDNS>

SUPPORT

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

         perldoc Net::DNS::CloudFlare::DDNS

   Websites
       The following websites have more information about this module, and may be of help to you.
       As always, in addition to those websites please use your favorite search engine to
       discover more resources.

       ยท   MetaCPAN

           A modern, open-source CPAN search engine, useful to view POD in HTML format.

           <http://metacpan.org/release/Net-DNS-CloudFlare-DDNS>

   Email
       You can email the author of this module at "me+dev@peter-r.co.uk" asking for help with any
       problems you have.

   Source Code
       The code is open to the world, and available for you to hack on. Please feel free to
       browse it and play with it, or whatever. If you want to contribute patches, please send me
       a diff or prod me to pull from your repository :)

       <https://github.com/pwr22/Net-DNS-CloudFlare-DDNS>

         git clone git://github.com/pwr22/Net-DNS-CloudFlare-DDNS.git

BUGS

       Please report any bugs or feature requests on the bugtracker website
       https://github.com/pwr22/Net-DNS-CloudFlare-DDNS/issues

       When submitting a bug or request, please include a test-file or a patch to an existing
       test-file that illustrates the bug or desired feature.

CONTRIBUTOR

       Peter Roberts <me@peter-r.co.uk>

AUTHOR

       Peter Roberts <me+dev@peter-r.co.uk>

COPYRIGHT AND LICENSE

       This software is Copyright (c) 2016 by Peter Roberts.

       This is free software, licensed under:

         The MIT (X11) License