Use this command to modify an existing NSSET. The old record is completely replaced by the new, it is necessary to specify all items. NSSET can be used for CZ domains only.
Parameters:
- tld – TLD
- name – NSSET name
- dns – name servers, Each server entry contains information about the name server
- server
- name – server name
- addr_ipv4 – IPv4 address
- addr_ipv6 – IPv6 address
- server
- auth_info – NSSET authorization password
- tech_c – tech. contact – not required
Return Values:
- 1000 = OK, NSSET modified
- 2201 = entered wrong TLD
- 2209 = syntax error
- 2210 = invalid format of list of dns servers
- 2211 = too many dns servers
- 2216 = invalid syntax in contact
- 2247 = invalid NSSET
- 3214 = error – NSSET not loaded
- 3228 = not support working with contacts
- 3229 = error loading contact
- 3242 = NSSET is not supported for this domain
- 3252 = authorization error
- 3254 = NSSET modification failed nsset
- 4204 = NSSET is unavailable – connection error
- 4220 = NSSET modification failed – connection error
- 4212 = contact is unavailable – connection error
Return data
Command does not return any data.
Example of use
XML query:
<request> <user>tester</user> <auth>ae58a4590c1f5b1ace8edbb0c4fd1cdb1e724dec</auth> <command>nsset-update</command> <clTRID>0071</clTRID> <data> <tld>cz</tld> <name>TEST</name> <auth_info>Xbhpn8ga</auth_info> <dns> <server> <name>ns.wedos.net</name> </server> <server> <name>fdsa.wedos.com</name> </server> </dns> <tech_c>TESTER</tech_c> </data> </request>
XML response:
<response> <code>1000</code> <result>OK</result> <timestamp>1288164827</timestamp> <clTRID>0071</clTRID> <svTRID>1288164827.3578.23467.1</svTRID> <command>nsset-update</command> </response>