Michał Wojciechowski > WebService-EditDNS-0.11 > WebService::EditDNS

Download:
WebService-EditDNS-0.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.11   Source  

NAME ^

WebService::EditDNS - Perl interface to EditDNS API

VERSION ^

Version 0.11

SYNOPSIS ^

WebService::EditDNS provides an interface to EditDNS API, allowing for control of domains and records hosted at EditDNS.

    use WebService::EditDNS;

    # Create a new instance of WebService::EditDNS
    my $editdns = WebService::EditDNS->new(email => 'your@email.address',
                                           apihash => 'your_API_hash');

    # Add a new domain
    $editdns->add_domain(domain => 'example.com');

    # Add a type A record
    $editdns->add_record(domain => 'example.com',
                         record => 'www.example.com',
                         type => 'A',
                         data => '12.34.56.78');

    # Delete a record
    $editdns->delete_record(domain => 'example.com',
                            record => 'www.example.com',
                            type => 'A');

    # Delete a domain
    $editdns->delete_domain(domain => 'example.com');
         
    ...

METHODS ^

new

Creates a new instance of WebService::EditDNS.

    my $editdns = WebService::EditDNS->new(email => 'your@email.address',
                                           apihash => 'your_API_hash');

Parameters:

add_domain

Adds a new domain.

    $editdns->add_domain(domain => 'example.com');

Parameters:

delete_domain

Deletes a domain.

    $editdns->delete_domain(domain => 'example.com');

Parameters:

add_record

Adds a new record.

    $editdns->add_record(domain => 'example.com',
                         record => 'www.example.com',
                         type => 'A',
                         data => '12.34.56.78')

Parameters:

delete_record

Deletes a record.

    $editdns->delete_record(domain => 'example.com',
                            record => 'mail.example.com',
                            type => 'MX');

Parameters:

AUTHOR ^

Michal Wojciechowski, <odyniec at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-webservice-editdns at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-EditDNS. 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 WebService::EditDNS

You can also look for information at:

COPYRIGHT & LICENSE ^

Copyright 2010 Michal Wojciechowski, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: