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, a TransferDomain command must be executed using the UDAI of the third-level domain. If necessary, see above on how to obtain a UDAI for an existing domain.
The following command may then be submitted, using the new UDAI (AUTH):
COMMAND = Transferdomain DOMAIN = example.nz AUTH = ABCDE1234 PERIOD = 1