NAME

DNS::Hetzner::API::PrimaryServers - PrimaryServers

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 primary servers associated with user. Primary servers can also be filtered by zone_id.

$dns->primary_servers->list();

create

Creates a new primary server.

$dns->primary_servers->create();

delete

Deletes a primary server.

$dns->primary_servers->delete();

get

Returns an object containing all information of a primary server. Primary Server to get is identified by 'PrimaryServerID'.

$dns->primary_servers->get();

update

Updates a primary server.

$dns->primary_servers->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)