v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
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

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "is_alias_available",
  "module": "DNS",
  "result": {
    "data": {
      "alias": 1,
      "resolver": "8.8.8.8"
    },
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}