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

# Return `ALIAS` DNS record availability & resolver

`GET /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
  - `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.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is `0`. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` - Success. * `0` - Failed. Check the `reason` field for more details.
    - `version` integer — The version of the API function.

---

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