WebService::DNSMadeEasy::ManagedDomain::Record
# These methods return L<WebService::DNSMadeEasy::ManagedDomain::Record> objects. my @records = $domain->records(); # Returns all records my @records = $domain->records(type => 'CNAME'); # Returns all CNAME records my @records = $domain->records(name => 'www'); # Returns all wwww records my $record = $domain->create_record( name => 'www', value => '1.2.3.4', type => 'A', gtd_location => 'DEFAULT', ttl => 120, ); # actions $record->update(...); $record->delete; # attributes $record->data; # returns all attributes as a hashref $record->description; $record->dynamic_dns; $record->failed; $record->failover; $record->gtd_location; $record->hard_link; $record->id; $record->keywords; $record->monitor $record->mxLevel; $record->name; $record->password; $record->port; $record->priority; $record->redirect_type; $record->source; $record->source_id; $record->title; $record->ttl; $record->type; $record->value; $record->weight; # Returns a L<WebService::DNSMadeEasy::Monitor> object my $monitor = $record->get_monitor;
This object represents a DNS record for a given domain.
To install WebService::DNSMadeEasy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::DNSMadeEasy
CPAN shell
perl -MCPAN -e shell install WebService::DNSMadeEasy
For more information on module installation, please visit the detailed CPAN module installation guide.