NAME
DNS::Hetzner::API::Zones - Zones
VERSION
version 0.05
SYNOPSIS
use DNS::Hetzner;
my $api_key = '1234abc';
my $dns = DNS::Hetzner->new(
token => $api_key,
);
$dns->records->create(
);
ATTRIBUTES
endpoint
METHODS
list
Returns paginated zones associated with the user. Limited to 100 zones per request.
$dns->zones->list();
create
Creates a new zone.
$dns->zones->create();
validate_file_plain
Validate a zone file in text/plain format.
$dns->zones->validate_file_plain();
delete
Deletes a zone.
$dns->zones->delete();
get
Returns an object containing all information about a zone. Zone to get is identified by 'ZoneID'.
$dns->zones->get();
update
Updates a zone.
$dns->zones->update();
export_file
Export a zone file.
$dns->zones->export_file();
import_file_plain
Import a zone file in text/plain format.
$dns->zones->import_file_plain();
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)