The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Net::RRP::Entity::Domain - rrp domain entity representation.

SYNOPSIS

my $domainEntity = new Net::RRP::Entity::Domain ( DomainName => [ 'domain.ru' ],
NameServer => [ 'ns1.domain.ru' ] );
my $domainEntity1 = new Net::RRP::Entity::Domain ();
$domainEntity1->setAttribute ( DomainName => [ 'domain.ru' ] );
$domainEntity1->setAttribute ( NameServer => [ 'ns1.domain.ru' ] );

DESCRIPTION

This is a rrp domain entity representation class.

getName

return a 'Domain'

setAttribute

Add check constraint to attributes. Only DomainName and NameServer attributes can exists.

AUTHOR AND COPYRIGHT

Net::RRP::Entity::Domain (C) Michael Kulakov, Zenon N.S.P. 2000
125124, 19, 1-st Jamskogo polja st,
Moscow, Russian Federation
mkul@cpan.org
All rights reserved.
You may distribute this package under the terms of either the GNU
General Public License or the Artistic License, as specified in the
Perl README file.

SEE ALSO

Net::RRP::Entity(3), Net::RRP::Codec(3), RFC 2832, Net::RRP::Exception::InvalidAttributeName(3)