NAME

DNS::Hetzner::API::Records - Records

VERSION

version 0.04

SYNOPSIS

use DNS::Hetzner;

my $api_key = '1234abc';
my $dns     = DNS::Hetzner->new(
    token => $api_key,
);

$dns->records->create(
);

ATTRIBUTES

  • endpoint

METHODS

list

Returns all records associated with user.

$dns->records->list();

create

Creates a new record.

$dns->records->create();

bulk_create

Create several records at once.

$dns->records->bulk_create();

bulk_update

Update several records at once.

$dns->records->bulk_update();

delete

Deletes a record.

$dns->records->delete();

get

Returns information about a single record.

$dns->records->get();

update

Updates a record.

$dns->records->update();

AUTHOR

Renee Baecker <reneeb@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Renee Baecker.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)