Description
Modifies a Name Server (NS) record.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| domain-name | String | Required | Domain name for which you want to modify the NS record |
| host | String | Optional |
The host part of the domain-name for which you need to modify the NS record Example: You may send this as ns1, if u wish to modify the NS record as ns1.domainname.com. |
| current-value | String | Required | Current NS value |
| new-value | String | Required | New NS value |
| ttl | Integer | Optional | Number of seconds the record needs to be cached by the DNS Resolvers. Default value is 14400. |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/dns/manage/update-ns-record.json?auth-userid=0&api-key=key&domain-name=domain.asia¤t-value=ns1.domain.com&new-value=ns2.domain.com
Response
Returns a status key with value as Success if the record is modified successfully.
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.
Get web hosting in INR 1000 yearly with cpanel, SSL and free business email accounts. Call Us or WhatsApp +91 9878357855