The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

IO::EPP::Afilias

SYNOPSIS

    use IO::EPP::Afilias;

    # Parameters for IO::Socket::SSL
    my %sock_params = (
        PeerHost        => 'epp.afilias.net',
        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::Afilias->new( {
        user => '12345-XX',
        pass => 'XXXXXXXX',
        sock_params => \%sock_params,
        server => 'afilias', # or 'pir', ...
        test_mode => 0, # real connect
    } );

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

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

DESCRIPTION

working with registries that have Afilias backend.

Frontends: Afilias, PIR, DotAsia, ...

Feature: at the initial request, you must specify the server parameter for activation the necessary extensions.

Now it is afilias or pir.

AUTHORS

Vadim Likhota <vadiml@cpan.org>

METHODS

new

See description in "new" in IO::EPP::Base

Requires the server field to be specified, which can have values: pir for .org/.ngo/.ong/.орг/.संगठन/.机构, afilias for other tlds.

login

Ext params for login,

INPUT: new password for change

check_domains, create_domain

For IDN domains you need to specify the language code in the idn_lang field

List of IDN characters for all zones see in https://www.iana.org/domains/idn-tables

restore_domain

first call for restore_domain

confirmations_restore_domain

second call for restore_domain

pre_data -- whois before delete post_data -- whois on now del_time -- delete domain date-time, see. upd_date in domain:info before call restore_domain rest_time -- date-time of sending the redemption request in UTC. reason -- restore reason, variants: Registrant Error, Registrar Error, Judicial / Arbitral / Administrative / UDRP Order.

The following parameters have already been defined:

statement -- write that this is all for the client, not for us, since the phrase is standard, you only need to substitute the company and the position of the one who buys the domain: company, position other -- can and without other.

Instead, you need to pass:

company -- name of your organization and its ID in the registry; position -- name, surname and position of the employee who is responsible for the purchase of remote domains.

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.