NAME

WebService::Rackspace::DNS - WebService::Rackspace::DNS - an interface to rackspace.com's RESTful Cloud DNS API using Web::API

VERSION

version 0.1

SYNOPSIS

Please refer to the API documentation at http://docs.rackspace.com/cdns/api/v1.0/cdns-devguide/content/overview.html

use WebService::Rackspace::DNS;
use Data::Dumper;

my $dns = WebService::Rackspace::DNS->new(
    debug   => 1,
    user    => 'jsmith',
    api_key => 'aaaaa-bbbbb-ccccc-12345678',
);

my $response = $dns->create_domain(
    domains => [ {
        name => "blablub.com",
        emailAddress => 'bleep@bloop.com',
        recordsList => {
            records => [ {
                name => "blablub.com",
                type => "MX",
                priority => 10,
                data => "127.0.0.1"
            },
            {
                name => "ftp.blablub.com",
                ttl  => 3600,
                type => "A",
                data => "127.0.0.1"
                comment => "A record for FTP server",
            } ],
        },
    } ]
);
print Dumper($response);

$response = $dns->status(id => "some-funny-long-job-identifier");
print Dumper($response);

ATTRIBUTES

location

SUBROUTINES/METHODS

limits

limit_types

limit

domains

domain

domain_history

zonefile

create_domain

import_domain

update_domain

update_domains

delete_domain

delete_domains

subdomains

records

record

create_record

update_record

update_records

delete_record

delete_records

ptrs

ptr

create_ptr

update_ptr

delete_ptr

status

INTERNALS

login

do rackspace's strange non-standard login token thing

BUILD

basic configuration for the client API happens usually in the BUILD method when using Web::API

BUGS

Please report any bugs or feature requests on GitHub's issue tracker https://github.com/nupfel/WebService-Rackspace-DNS/issues.

SUPPORT

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

perldoc WebService::Rackspace::DNS

You can also look for information at:

ACKNOWLEDGEMENTS

  • Lenz Gschwendtner (@norbu09), for being an awesome mentor and friend.

AUTHOR

Tobias Kirschstein <lev@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Tobias Kirschstein.

This is free software, licensed under:

The (three-clause) BSD License