NAME
IO::EPP::CNic
SYNOPSIS
use IO::EPP::CNic;
# Parameters for IO::Socket::SSL
my %sock_params = (
PeerHost => 'epp.centralnic.com',
PeerPort => 700,
SSL_key_file => 'key_file.pem',
SSL_cert_file => 'cert_file.pem',
Timeout => 30,
);
# Create object, get greeting and call login()
my $conn = IO::EPP::CNic->new( {
user => 'H1234567',
pass => 'XXXXXXXX',
sock_params => \%sock_params,
test_mode => 0, # real connect
} );
# Check domain
my ( $answ, $code, $msg ) = $conn->check_domains( { domains => [ 'xyz.xyz' ] } );
# Call logout() and destroy object
undef $conn;
DESCRIPTION
Work with CentralNic APP API, Overrides the IO::EPP::Base functions where the provider has supplemented the standard
The main documentation is in https://registrar-console.centralnic.com/doc/operations-manual-3.2.6.pdf Other see on https://registrar-console.centralnic.com/support/documentation (Authorization required)
METHODS
Further overlap functions where the provider has features
login
Ext params for login,
INPUT: new password for change
check_premium
Get prices for premium domains
create_domain
CentralNic requires a domain price for each registration, need keys: cost
-- the price of a domain, if the domain is registered for several years, the first year is the price of registration, and the remaining year is the price of renewal; currency
-- price currency.
For IDN domains you need to specify idn_lang
-- the code page of the name and uname
-- the name itself in utf8
transfer
CentralNic requires a domain price for each transfer, need keys: price
-- domain renewal and transfer price; currency
-- price currency.
renew_domain
CentralNic requires a domain price for each renew, need keys: cost
-- domain renewal and transfer price; currency
-- price currency.
restore_domain
Domain redemption after deletion
AUTHORS
Vadim Likhota <vadiml@cpan.org>, claims functions are written by Andrey Voyshko
COPYRIGHT
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.