From HEXONET Wiki
Second Level Domain Registration Documents
|Allowed number of NS||
Domains can be registered with the API AddDomain command.
command = AddDomain domain = (DOMAIN)
ownercontact0 = (CONTACT) admincontact0 = (CONTACT) techcontact0 = (CONTACT) billingcontact0 = (CONTACT) nameserver0 = (NAMESERVER) nameserver1 = (NAMESERVER)
auth = <TEXT> | <NULL> transferlock = 0 | 1 | <NULL> subuser = <TEXT> | <NULL>
There is a special procedure to handle a domain transfer. Please contact our Support-Team if you should need further information.
command = TransferDomain domain = (DOMAIN)
action = REQUEST | APPROVE | DENY | CANCEL | USERTRANSFER auth = <TEXT>
order = CREATE | REPLACE | UPDATE subuser = <TEXT> | <NULL> period = <PERIOD> transferlock = 0 | 1 | <NULL>
Domains can be deleted with the API DeleteDomain command.
There is no Deletion Restorable Period.
command = DeleteDomain domain = (DOMAIN)
command = RestoreDomain domain = (DOMAIN)
renewalmode = <NULL> | <TEXT> subuser = <TEXT>
Generating a UDAI
In order to set a UDAI code (Unique Domain Authorisation ID) for your domain, please proceed as follows in the HEXONET Control Panel:
- Unlock the domain (remove the transfer lock)
- Wait a few minutes
- go to Tools > API Library > ObjectLog and enter the domain.
The latest response will deliver the NEW UDAI. While using the API, after unlocking the domain, you will receive an Event from our system with the new UDAI code.
Expiring Authorization Codes
Please note that UDAIs may only be obtained from the current registrar of a domain name, and that they expire after 30 days.
Registering Reserved Second Level Domains
In order to register a reserved second-level .NZ domain for an existing third-level domain, you can simply request a transfer of the desired second-level name and provide the UDAI of your third-level domain with a period of 1 (one) year. If necessary, see above on how to obtain a UDAI for an existing domain.
The transfer may then be requested in our Control Panel or with the following API command using the new UDAI (AUTH) of the third-level domain:
COMMAND = Transferdomain DOMAIN = example.nz AUTH = ABCDE1234 PERIOD = 1 EOF