pem.addPTRRecord
This method is supported by Operations starting from version 2.6.5
This method adds new PTR record, and returns it’s id. Note that this method works even if there are no appropriate reverse zone created, in this case, this record will immediately appear in the appropriate zone when as soon as a provider creates one.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
string |
IP address of the Operations object (VPS or Hardware Node) to create a PTR record for. |
|
string |
Hostname to configure PTR record for. |
The method has the following output parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
ID of the created record. |
See also pem.removePTRRecord.