IO-EPP

 view release on metacpan or  search on metacpan

lib/IO/EPP/DrsUa.pm  view on Meta::CPAN

package IO::EPP::DrsUa;

=encoding utf8

=head1 NAME

IO::EPP::DrsUa

=head1 SYNOPSIS

    use IO::EPP::DrsUa;

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

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

    # Check domain
    my ( $answ, $code, $msg ) = $conn->check_domains( { domains => [ 'qqq.com.ua', 'aaa.biz.ua' ] } );

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

=head1 DESCRIPTION

Module for work with nic.ua/drs.ua domains

Drs.ua is a registry for biz.ua, co.ua, pp.ua and reseller for other .ua tlds

drs.ua uses deprecated epp version 0.5 -- it uses hostAttr instead of hostObj

Features:

=over 4

=item *

special PP format

=item *

the contact id must be suffixed on "-cunic"

=item *

need full name in contact:update

=item *

to change the email address, you need to update the contact, not change the contact id

=item *

additional extensions with login should be passed as objURI, not extURI

=item *

contacts have only type loc

=item *

no commands host:check, host:create, host:update (consequence of hostAttr)



( run in 1.393 second using v1.01-cache-2.11-cpan-39bf76dae61 )