RRPproxy Homepage
RRPproxy Homepage


API commands

Please find in the following a set of the most commonly used standard API commands in order to register, modify, renew, and transfer a domain name.

Domain Registration

(API Command reference » AddDomain)
command         = AddDomain
domain          = yourdomain.gen.nz
period          = (INT)
ownercontact0   = (CONTACT)
admincontact0   = (CONTACT)
techcontact0    = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0	= (NAMESERVER)
nameserver1 	= (NAMESERVER)
  • The UDAI will expire after 30 days, wherefore you might have to request a new UDAI as described in the Modify Domain example below.

Domain Modification

(API Command reference » ModifyDomain)
command = ModifyDomain
domain  = yourdomain.gen.nz
auth    = .......*

* use a random value, since it will be overwritten by a new UDAI, which is received by an event a few minutes after the domain update

Domain Renewal

(API Command reference » RenewDomain)
command    = RenewDomain
domain     = yourdomain.gen.nz
period     = (INT)
expiration = (INT)

Domain Deletion

(API Command reference » DeleteDomain)
COMMAND = DeleteDomain
DOMAIN = yourdomain.gen.nz

Domain Transfer

(API Command reference » TransferDomain)
command = TransferDomain
domain  = yourdomain.gen.nz
action  = request
auth    = (UDAI)
  • A .gen.nz domain transfer must be initiated with a so-called authorisation code (UDAI, generally 8 characters), which can be obtained from the current registrar through the owner or Admin-C of the domain.
  • Please note that the UDAI changes automatically upon certain domain operations (e.g. Updates, Transfer)
  • The UDAI will expire after 30 days, wherefore you might have to request a new UDAI for already existing domain names. To initiate the generation of a new UDAI through the registry, please submit a ModifyDomain command like shown in the example at DomainModification in this article.

Domain Restore

(API Command reference » RestoreDomain)
command = RestoreDomain
domain  = yourdomain.gen.nz

Domain Restrictions

There are no restrictions for .gen.nz

Wedomains :)