Richard K Bush > Net-DNS-DurableDNS-v1.1 > Net::DNS::DurableDNS

Download:
Net-DNS-DurableDNS-v1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Net::DNS::DurableDNS - Wrapper for the DurableDNS API at http://durabledns.com

VERSION ^

Version 0.01

SYNOPSIS ^

use Net::DNS::DurableDNS;

my $durable = Net::DNS::DurableDNS->new({ apiuser => $user, apikey => $key });

my $zones = $durable->listZones();

FUNCTIONS ^

new

new( { apiuser => $user, apikey => $key } )

returns a new object for accessing the DurableDNS API. The API user and key are from your DurableDNS.com account.

listZones

getZone

deleteRecordById

deleteRecordByName

getRecordById

getRecordByName

listRecords

createRecord

updateRecord

updateRecord( $hostnames, $ip_address, $params )

# if a recordid is provided, we use it # if recordid is not provide and oldname is provided we use oldname to look up the recordid # if neither oldname nor recordid is provided, we look it up based on name

# if orcreate is passed in, if no record exists, a new one will be created

# <part name="apiuser" type="xsd:string"/> # <part name="apikey" type="xsd:string"/> # <part name="zonename" type="xsd:string"/> # <part name="id" type="xsd:int"/> # <part name="name" type="xsd:string"/> # <part name="aux" type="xsd:int"/> # <part name="data" type="xsd:string"/> # <part name="ttl" type="xsd:int"/>

Parameter Default Values system dyndns dyndns | statdns | custom wildcard none ON | OFF | NOCHG mx none any valid fully qualified hostname backmx none YES | NO offline none YES | NO protocol https http | https

Further information about each of these parameters is available at http://www.dyndns.org/developers/specs/syntax.html

info

AUTHOR ^

Richard K Bush, <rbush at 42umbrellas.com>

BUGS ^

Please report any bugs or feature requests to bug-net-dns-durabledns at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-DNS-DurableDNS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

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

    perldoc Net::DNS::DurableDNS

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2012 Richard K Bush.

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.

syntax highlighting: