Personal tools

From HEXONET Wiki

Jump to: navigation, search
Line 6: Line 6:
 
The driver also supports all other HEXONET commands like queries for domain and contact lists. It is also possible to access additional HEXONET products like ssl certificates.
 
The driver also supports all other HEXONET commands like queries for domain and contact lists. It is also possible to access additional HEXONET products like ssl certificates.
  
{{Infobox|Net::DRI support for HEXONET's ISPAPI EPP server has been included in Net::DRI 0.96_01 (DEVELOPMENT RELEASE)
+
Net::DRI support for HEXONET's ISPAPI EPP server has been included in Net::DRI 0.96_01 (DEVELOPMENT RELEASE)
 
which can be downloaded here:
 
which can be downloaded here:
+
{{Infobox|http://www.hexonet.net/files/net-dri/Net-DRI-latest.tar.gz}}
http://www.hexonet.net/files/net-dri/Net-DRI-latest.tar.gz <BR><BR>
+
  
 
The latest release of Net::DRI can be downloaded here:  
 
The latest release of Net::DRI can be downloaded here:  
 
+
{{Infobox|http://www.dotandco.com/services/software/Net-DRI/ }}
http://www.dotandco.com/services/software/Net-DRI/ <BR>
+
  
 
HEXONET's ISPAPI patches for Net::DRI 0.96 can be downloaded {{Template:Filedownload|Net-DRI-ISPAPI.tgz | here}}.}}
 
HEXONET's ISPAPI patches for Net::DRI 0.96 can be downloaded {{Template:Filedownload|Net-DRI-ISPAPI.tgz | here}}.}}

Revision as of 19:33, 9 September 2012

EPP access using the Net::DRI perl library

The ISPAPI Registry driver for Net::DRI enables you to connect HEXONET's EPP server and gives you the possibility to manage a wide range of gTLDs and ccTLDs. In addition to the EPP 1.0 compliant commands there is a Key-Value mapping for additional domain related parameters which are required by several registries. The driver also supports all other HEXONET commands like queries for domain and contact lists. It is also possible to access additional HEXONET products like ssl certificates.

Net::DRI support for HEXONET's ISPAPI EPP server has been included in Net::DRI 0.96_01 (DEVELOPMENT RELEASE) which can be downloaded here:




The latest release of Net::DRI can be downloaded here:




HEXONET's ISPAPI patches for Net::DRI 0.96 can be downloaded  Down.gif   here.}}


perl code example

use Net::DRI;

my $r = eval {
 my $dri = Net::DRI->new( { cache_ttl => 10 } );

# load DRD for ISPAPI
 $dri->add_registry('ISPAPI');

# create new connection to the EPP server, port 1700 (OT&E)
 $dri->target('ISPAPI')->add_current_profile('profile1', 'epp', {
  remote_port => 1700,
  client_login => 'test.user',
  client_password => 'test.passw0rd'
 } );

# using an extension hash for IDN registration, set transferlock, create DNS zone
 my $kv = {
  'X-IDN-LANGUAGE' => 'de',
  'TRANSFERLOCK' => 1,
  'INTERNALDNS' => 1
 };
 my $create_rc = $dri->domain_create('xn--mller-kva.com',{pure_create => 1, auth => { pw => '2fooBAR' }, keyvalue => $kv});
 print STDERR $create_rc->as_string(1);
 
 print STDERR "\n";
 print STDERR "\n";

# query a domain name, in addition get the RENEWALMODE
 my $info_rc = $dri->domain_info('000audio.com', {keyvalue => { COMMAND => 'StatusDomain'} });
 print STDERR $info_rc->get_data('keyvalue')->{RENEWALMODE};

 print STDERR "\n";
 print STDERR "\n";

# free-form API call, used to query the account status
 my $api = $dri->remote_object('api');
 my $rc = $api->call( { COMMAND => "StatusAccount" } );
 $kv = $rc->get_data('keyvalue');
 foreach my $key ( sort keys %$kv ) {
  print STDERR "$key=".$kv->{$key}."\n";
 }

 print STDERR "\n";
 print STDERR "\n";

Download

Net::DRI support for HEXONET's ISPAPI EPP server has been included in Net::DRI 0.96_01 (DEVELOPMENT RELEASE) which can be downloaded here:

http://www.hexonet.net/files/net-dri/Net-DRI-latest.tar.gz

The latest release of Net::DRI can be downloaded here:

http://www.dotandco.com/services/software/Net-DRI/

HEXONET's ISPAPI patches for Net::DRI 0.96 can be downloaded  Down.gif   here.