CentralNic Reseller Homepage
CentralNic Reseller 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.ac.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.ac.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.ac.nz
period     = (INT)
expiration = (INT)

Domain Deletion

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

Domain Transfer

(API Command reference » TransferDomain)
command = TransferDomain
domain  = yourdomain.ac.nz
action  = request
auth    = (UDAI)
  • A .ac.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.ac.nz

Domain Restrictions

There are no restrictions for .ac.nz

Supported IDN Scripts

The following IDN scripts are supported by .ac.nz.
Provide the LANGUAGE TAG corresponding to your desired IDN within the AddDomain command as X-IDN-LANGUAGE extension.


Get more information of "IDN tables", which represent permitted code points (letters) allowed for Internationalised Domain Name registrations in particular registries on IANA Repository of IDN Practices.

Wedomains :)