-
-
11 Jan 2021 12:21:50 UTC
- Distribution: DNS-Hetzner
- Module version: 0.05
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (82 / 0 / 19)
- Kwalitee
Bus factor: 2- 64.26% Coverage
- License: artistic_2
- Perl: v5.24.0
- Activity
24 month- Tools
- Download (24.22KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
DNS::Hetzner - Perl library to work with the API for the Hetzner DNS
VERSION
version 0.05
SYNOPSIS
use DNS::Hetzner; use Data::Printer; my $dns = DNS::Hetzner->new( token => 'ABCDEFG1234567', # your api token ); my $records = $dns->records; my $zones = $dns->zones; my $all_records = $records->list; p $all_records;
INFO
This is still pretty alpha. The API might change.
ATTRIBUTES
base_uri
(optional) Default:
api/v1
client
(optional) A
Mojo::UserAgent
compatible user agent. By default a new object ofMojo::UserAgent
is created.host
(optional) This is the URL to Hetzner's Cloud-API. Defaults to
https://dns.hetzner.com
token
(required) Your API token.
METHODS
records
zones
primary_servers
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)
Module Install Instructions
To install DNS::Hetzner, copy and paste the appropriate command in to your terminal.
cpanm DNS::Hetzner
perl -MCPAN -e shell install DNS::Hetzner
For more information on module installation, please visit the detailed CPAN module installation guide.