API: create_nsset
Creates a new NSSET for use in the Czech domain registry.
Parameters:
- nsset_id - requested identifier of the new NSSET
- nameserver - up to ten DNS servers may be specified
- name - domain name of the DNS server
- glue - up to five glue records (IPv4 or IPv6 address of the given DNS server). Optional.
- glue
- ...
- nameserver
- ...
- contact - ID of the technical administrator's contact. Up to ten contacts may be specified
- contact
- ...
Return codes:
- 1000 OK
- 2004 Failed - the NSSET cannot be registered. The reason is returned in the errors element.
- 2006 NSSET already exists - an NSSET with the requested ID already exists in the registry
- 8800 Malformed input - invalid values in the input fields. Details of the failure are returned in the errors element.
No return values.
Example:
<?xml version="1.0" encoding="UTF-8"?>
<api>
<ssid>Kfps2XXea8udAPSMxoDUSuCbDlgdwI</ssid>
<create_nsset>
<nsset_id>NSPAVTEST3</nsset_id>
<nameserver>
<name>ns1.vol.cz</name>
</nameserver>
<nameserver>
<name>ns2.vol.cz</name>
<glue>12.34.56.78</glue>
<glue>78.56.34.12</glue>
</nameserver>
<contact>SB:PAV</contact>
</create_nsset>
</api>
<?xml version="1.0" encoding="UTF-8"?>
<api>
<status code="1000">OK</status>
</api>