NAME
Net::DNS::ValueDomain::DDNS - Update your Value-Domain (https://www.value-domain.com/) DynamicDNS records.
SYNOPSIS
use Net::DNS::ValueDomain::DDNS;
my $ddns = Net::DNS::ValueDomain::DDNS->new;
$ddns->update({
domain => 'example.com',
password => 'your password',
host => 'www',
ip => 'your ip',
});
$ddns->update({ domain => 'example.net', host => 'example' });
DESCRIPTION
This module help you to update your Value-Domain (https://www.value-domain.com/) DynamicDNS record(s).
METHODS
- new(\%pamam)
-
Create a new Object. All \%param keys and values (except 'host' and 'domain') is kept in this object, and used by update() function.
- update(\%param)
-
update your DynamicDNS record. \%param is:
domain
- Your Domain name being updated. (Required)password
- Your Value-Domain Dynamic DNS Password. (Required)host
- Your Sub-domain name being updated. For example if your hostname is "www.example.com" you should set "www" here. (Optional)ip
- The IP address to be updated. if empty, your current ip is used. (Optional)Return undef, if something error has occered. Use error() method for detail.
- protocol()
-
return used protocol name. 'http' or 'https'.
- error()
-
return last error.
AUTHOR
Daisuke Murase, <typester@unknownplace.org>
COPYRIGHT AND LICENSE
Copyright (C) 2005 by Daisuke Murase
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 117:
'=item' outside of any '=over'
- Around line 147:
You forgot a '=back' before '=head1'