API NameserverTreatment
<sidebar>
- Domains
- Main_Page|All Domains
- NewTLD_Main_Page| NewTLDs
- Premium_Domains_Main_Page| Premium Domains
- Services
- Registry_Lock|Registry Lock
- Trademark_Clearinghouse|Trademark Clearinghouse
- Early_Access_Program|Early Access Program (EAP)
- DPML|DPML
- Backorder|Backorder
- EOI_API|EOI Service
- Web_Apps|Web Apps
- RegistrarOC|RegistrarOC
- AdultBlock|AdultBlock
- AUValidation|.AU Validation Service for Natural Persons
- API & SDK
- Domain_API|Domain API
- DNS_API|DNS API
- DNSSEC|DNSSEC API
- SSL|SSL API
- Weebly API|Weebly API
- RootServer|Rootserver API
- Renewal_System|Renewal System API
- Core_API|System API
- EPP_Gateway|EPP Gateway
- https://www.hexonet.net/resellers/integration#api%7CSDKs
- Modules & Tools
- https://www.hexonet.net/resellers/integration#whmcs%7CWHMCS modules
- https://www.hexonet.net/resellers/integration#blesta%7CBlesta modules
- ISPAPI | ISPAPI Command-line interface
- Control Panel & Tools
- ControlPanel | Control Panel
- ICANN Policies
- IRTP|IRTP - Change of Registrant Policy
- ERRP| ERRP - Expired Domain Recovery Policy
- Registrant_Verification|Registrant Verification
- HEXONET & Partners
</sidebar>
Generally, nameserver hosts must be be created at the respective registry. The way of creating a nameserver host through our system depends on the way the registry manages nameserver hosts in their internal database. Generally, there exist two differend kinds of nameserver host managements:
- Hosts are managed as independent objects. Host objects will be created at the registry by using the command AddNameserver. In any other case you have to create the necessary NS and A records in the DNS zone of the respective nameserver domain.
- Hosts are managed as attributes related to a certain domain object. To create nameserver hosts, you have to modify the respective domain using a certain syntax for the nameserver parameters.
Example[edit]
If you want to create a nameserver host with the IP addresses 127.0.0.1, 127.0.0.2, 127.0.0.3 for the domain domainexample.co.uk, the API command looks like that:
COMMAND
command = ModifyDomain domain = domainexample.co.uk nameserver0 = ns1.domainexample.co.uk 127.0.0.1 nameserver1 = ns2.domainexample.co.uk 127.0.0.2 nameserver2 = ns2.domainexample.co.uk 127.0.0.3
In addition, you have to create the necessary NS and A records in the DNS zone of domainexample.co.uk.