Update name server information.
Inputs | Description | Type | Regular expression | Mandatory |
name | name server host | String | [A-Za-z0-9-\.]{5,150} | Yes |
addr_ip | Ip address 1 | String (min 7, max 15) | ((1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]) | Yes |
addr_ip | Ip address 2 | String (min 7, max 15) | ((1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]) | No |
Outputs | Description | Possible values |
name | Name server host |
Command
<api> […] <command> <ns_update> <name>…</name> <addr_ip>…</addr_ip> </ns_update> </command> </api> |
Response
<?xml version="1.0" encoding="utf-8"?> <api> <response> <trID>…</trID> <result code="…"> <msg>…</msg> </result> </response> <resData> <ns_upData> <name>…</name> </ns_upData> </resData> </api> |