NAME

WWW::Hetzner::Robot::API::RDNS - Hetzner Robot Reverse DNS API

VERSION

version 0.101

SYNOPSIS

my $robot = WWW::Hetzner::Robot->new(...);

# List all reverse DNS entries
my $entries = $robot->rdns->list;

# Get the entry of one IP
my $entry = $robot->rdns->get('203.0.113.50');
print $entry->ptr, "\n";

# Create or update
$robot->rdns->create('203.0.113.50', 'mail.example.com');
$robot->rdns->update('203.0.113.50', 'www.example.com');

# Delete
$robot->rdns->delete('203.0.113.50');

list

Returns arrayref of WWW::Hetzner::Robot::RDNS objects.

get

my $entry = $robot->rdns->get($ip_address);

Returns WWW::Hetzner::Robot::RDNS object.

create

my $entry = $robot->rdns->create($ip_address, 'mail.example.com');

Creates a new reverse DNS entry. Fails if the IP already has one - use "update" to overwrite.

update

my $entry = $robot->rdns->update($ip_address, 'www.example.com');

Updates the reverse DNS entry, creating it when there is none.

delete

$robot->rdns->delete($ip_address);

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-hetzner/issues.

IRC

Join #kubernetes on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.