The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IO::EPP::CoCCA

SYNOPSIS

    use IO::EPP::CoCCA;

    # Parameters for IO::Socket::SSL
    my %sock_params = (
        PeerHost        => 'registry.rusnames.net',
        PeerPort        => 700,
        # without certificate
        Timeout         => 30,
    );

    # Create object, get greeting and call login()
    my $conn = IO::EPP::CoCCA->new( {
        user => 'login',
        pass => 'xxxx',
        sock_params => \%sock_params,
        test_mode => 0, # real connect
    } );

    # Check domain
    my ( $answ, $code, $msg ) = $conn->check_domains( { domains => [ 'xn--d1acufc.xn--p1acf' ] } );

    # Call logout() and destroy object
    undef $conn;

DESCRIPTION

Module for work with .РУС/.xn--p1acf, .CX, ... tlds. All list see on https://cocca.org.nz/#five

Frontends: https://rusnames.com/ https://cocca.org.nz/

Backend: https://secure.coccaregistry.net/

CoCCA features:

- not show authinfo in domain:info

METHODS

Next, those functions are redefined in which the provider has additions to the EPP

login

Ext params for login,

INPUT: new password for change

restore_domain

Domain redemption

INPUT: params key dname -- name of the domain to be redeemed

OUTPUT: see "simple_request".

confirmations_restore_domain

Confirmation of domain redemption

INPUT: pre_data -- whois before delete, can set 'none'; post_data -- whois on now, can set 'none'; del_time -- date-time of domain deletion in UTC; rest_time -- date-time of sending the redemption request in UTC.

Fields already filled in: resReason -- the reason for the redemption; statement -- write that this is all for the client, not for us; other -- can be without additions.

AUTHORS

Vadim Likhota <vadiml@cpan.org>

COPYRIGHT

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