latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

DNS
Domain Management
Resolvers

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/is_alias_available

Response

HTTP Request was successful.

Example response

{
  "data": {
    "alias": 1,
    "resolver": "8.8.8.8"
  },
  "metadata": {
    "command": "is_alias_available",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}