DNS
DNS Information
Return `ALIAS` DNS record availability & resolver
This function returns whether ALIAS and ANAME records are available and the value of the running PowerDNS (PDNS) resolver setting, if any exists. For more information, read our ALIAS documentation.
get/DNS/is_alias_available
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "is_alias_available",
"module": "DNS",
"result": {
"data": {
"alias": 1,
"resolver": "8.8.8.8"
},
"metadata": {
"transformed": 1
},
"status": 1
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.