Personal tools

From HEXONET Wiki

Jump to: navigation, search



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

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.