WWW::DNSMadeEasy - Accessing DNSMadeEasy API
version 0.001
use WWW::DNSMadeEasy; # or WWW::DME as shortname my $dme = WWW::DNSMadeEasy->new({ api_key => '1c1a3c91-4770-4ce7-96f4-54c0eb0e457a', secret => 'c9b5625f-9834-4ff8-baba-4ed5f32cae55', }); my $sandbox = WWW::DNSMadeEasy->new({ api_key => '1c1a3c91-4770-4ce7-96f4-54c0eb0e457a', secret => 'c9b5625f-9834-4ff8-baba-4ed5f32cae55', sandbox => 1, }); my @domains = $dme->all_domains; my $domain = $dme->create_domain('universe.org'); my $other_domain = $dme->domain('existingdomain.com'); my @records = $other_domain->all_records; my $record = $domain->create_record({ ttl => 120, gtdLocation => 'DEFAULT', name => 'www', data => '1.2.3.4', type => 'A', }); $record->delete; $domain->delete;
This distribution gives you an easy access to the DNSMadeEasy API. You require a business or corporate account to use this. You can't use it with the free test account neither with the small business account. This module doesnt check any input values, I suggest so far that you know what you do.
Here you must give the API key which you can obtain from this page https://cp.dnsmadeeasy.com/account/info.
You get the secret from the same page where you get the API key.
If set to true, this will activate the usage of the sandbox, instead of the live system.
Here you can set a different http useragent for the requests, it defaults to the package name including the distribution version.
Arguments: $name
Return value: WWW::DNSMadeEasy::Domain
Will be creating the domain $name on your account and returns the WWW::DNSMadeEasy::Domain for this domain.
Returns the WWW::DNSMadeEasy::Domain of the domain with name $name.
Arguments: None
Return value: Array of WWW::DNSMadeEasy::Domain
Returns an array of WWW::DNSMadeEasy::Domain objects of all domains listed on this account.
IRC
Join #duckduckgo on irc.freenode.net and highlight Getty or /msg me.
Repository
http://github.com/Getty/p5-www-dnsmadeeasy Pull request and additional contributors are welcome
Issue Tracker
http://github.com/Getty/p5-www-dnsmadeeasy/issues
Torsten Raudssus <torsten@raudssus.de>
This software is copyright (c) 2012 by Raudssus Social Software.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WWW::DNSMadeEasy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::DNSMadeEasy
CPAN shell
perl -MCPAN -e shell install WWW::DNSMadeEasy
For more information on module installation, please visit the detailed CPAN module installation guide.