pem.getDNSRecords
This method is supported by Operations starting from version 5.5
This method returns DNS Records of a specified Domain.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
string |
Domain name. |
|
string |
Type of DNS Records to return.
|
The method returns the array of structures:
Name |
Type |
Short Description |
---|---|---|
|
int |
ID of Domain. |
|
int |
DNS record ID. |
|
string |
Name of the domain which DNS Record is related to. |
|
int |
Maximum time interval during which this record can be stored in cache. Note: In case default value is set, the '0' value will be returned. |
|
string |
Type of DNS Record. |
|
string |
Value of DNS Record. |
|
boolean |
Indicates whether the Record is active. |
Note: The NS record is not shown because this record is 'virtual' and does not exist in the dns_resource_records
table.