Domain DNS Record Update
Resource path /Domain/DnsRecord/Update
https://testapi.internet.bs/Domain/DnsRecord/Update?apiKey=testapi&password=testpass&...
The command is intended to update an existing DNS record.
Only the credentials (API Key and Password), FullRecordName, Type and NewValue are required, all other parameters are only needed if there is a risk of ambiguity, in particular when you have advanced DNS record used for load balancing. We recommend to always passing as many optional parameters as possible to avoid updating a different record from the one that you originally intended to.
HTTPS POST/GET Request parameters:
| Parameter name | Description |
ApiKey |
The API key that we provided to you when you requested API access for your account |
Password |
The password we provided when you requested API access for your account |
FullRecordName |
Is the full record name for which you are creating a DNS record. It includes the zone name and the sub domain name if any. Ex: example.com or subdom.example.com or mx2.example.com or *.example.com or www.example.com or sub2.sub3.example.com . |
Type |
Accepted values are: A, AAAA, DYNAMIC, CNAME, MX, SRV, TXT and NS |
CurrentValue |
Only required if there is a possible ambiguity, ex. if you have a CNAME and a A record for the same FullRecordName or if you have multiple entries for the same FullRecordName (loadbalancing or similar cases). The record value. Ex: 192.168.1.1 for an A record, www.example.com for a CNAME record For a DYNAMIC record, it is an offline address, which is any valid URL or IP (IPv4 or IPv6) address. For a DYNAMIC record, it is an optional parameter. For SRV records the value of this parameter has the following format: weight port host. Example: 100 3478 sip.example.com |
CurrentTtl |
Only required for disambiguation purposes. Numeric values representing the time to live in seconds. Default is one hour (3600 seconds) |
CurrentPriority |
Only required for disambiguation purposes. A number representing the priority. It is only used for MX records and the default value is 10 |
NewValue |
The record value. Ex: 192.168.1.1 for an A record, www.example.com for a CNAME record |
NewTtl |
Numeric values representing the time to live in seconds. Default is one hour (3600 seconds) |
NewPriority |
A number representing the priority. It is only used for MX records and the default value is 10 |
CurrentDynDnsLogin |
Only required for disambiguation purposes. For example if you have multiple DYNAMIC records using same full record name but the username is different you will need to pass this parameter to make sure the right record is updated. |
CurrentDynDnsPassword |
Only required for disambiguation purposes. For example if you have multiple DYNAMIC records using same details including same user name you will need to pass the password as well to make sure the right record is updated. |
NewDynDnsLogin |
It specifies the user name for a dynamic DNS client to update a host. It can be any string of length between 1 and 30 characters. |
NewDynDnsPassword |
It specifies the password for a dynamic DNS client to update a host. It can be any string of length between 1 and 30 characters. |
ResponseFormat |
This specifies how the response will be returned. Possible values are TEXT, JSON and XML. |
Example:
The result for this request is:
status=SUCCESS


English
Deutsch
Espanol
Francais
Italiano
Romana
Русский
Türkçe 


![]](/img/tabright.jpg)