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.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/is_alias_available
Request samples
whmapi1 --output=jsonpretty \
  is_alias_available
Response samples
application/json
{
  • "data": {
    • "alias": 1,
    • "aname": 0,
    • "resolver": "8.8.8.8"
    },
  • "metadata": {
    • "command": "is_alias_available",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}