pem.createDNSRecord
This method is supported by Operations starting from version 2.6.1 Hotfix 4.
This method creates new DNS Record for a particular Domain. Method returns DNS Record ID. The caller should keep track of DNS Record IDs in order to be able to delete them later by pem.deleteDNSRecord.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
string |
Name of the Domain to create DNS Record for. |
|
string |
Host part of the DNS Record. Note: For SRV and TLSA DNS records, this parameter should be specified in the following format: _SERVICE._PROTOCOL or *._PROTOCOL where _SERVICE is the port of the service and _PROTOCOL is the protocol of the service (TCP or UDP). For example: _443._tcp, *._udp. |
|
int |
Optional DNS Record's TTL. |
|
string |
DNS Record type. There are the following options:
|
|
string |
Actual data content. There are the following options:
|
The method has the following output parameter.
Name |
Type |
Short Description |
---|---|---|
|
int |
ID of the created DNS Record. |
Note: Starting from Operations 2.6.4 this method can also be called under Reseller permissions.