NAME

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

VERSION

version 0.01

SYNOPSIS

use DNS::Hetzner;

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

$dns->records->create(
);

ATTRIBUTES

  • endpoint

METHODS

create

Creates a new record.

$dns->Records->create(HASH(0x55fcc738df20));

list

Returns all records associated with user.

$dns->Records->list(HASH(0x55fcc72cd018));

update_bulk

Update several records at once.

$dns->Records->update_bulk(HASH(0x55fcc72cd210));

create_bulk

Create several records at once.

$dns->Records->create_bulk(HASH(0x55fcc737cfd0));

delete

Deletes a record.

$dns->Records->delete(HASH(0x55fcc7376f80));

update

Updates a record.

$dns->Records->update(HASH(0x55fcc72cca00));

get

Returns information about a single record.

$dns->Records->get(HASH(0x55fcc72dbe90));

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)