---
title: "Return `ALIAS` DNS record availability & resolver"
method: GET
path: "/DNS/is_alias_available"
tags: ["DNS", "DNS Information"]
---

# Return `ALIAS` DNS record availability & resolver

`GET /DNS/is_alias_available`

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](https://go.cpanel.net/dns-alias-record).

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object
      - `alias` 1 | 0 — Whether `ALIAS` records are available. * `1` - Available. * `0` - Not available. When `ALIAS` records are enabled, they may work in API calls that accept `A` and `AAAA` records. However, the `ALIAS` record must use a fully qualified domain name (FQDN) rather than an IP address.
      - `aname` 1 | 0 — Whether `ANAME` records are available. * `1` - Available. * `0` - Not available. **NOTE:** The `aname` value is always set to false (i.e. Not available). The `ANAME` record is currently not supported. It is included for completeness and future proofing.
      - `resolver` string — The value (if any) of the running PDNS’s `resolver` setting.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
      - `transformed` 1 — Post-processing may have transformed the data.
    - `status` 0 | 1 — * `1` — Success. * `0` — Failed. Check the `errors` field for more details.
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/revisions/632e2f8e6d04/schema)
