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
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/DNS/is_alias_available
Request samples
uapi --output=jsonpretty --user=username DNS is_alias_available
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "is_alias_available",
  • "module": "DNS",
  • "result": {
    • "data": {
      • "alias": 1,
      • "aname": 0,
      • "resolver": "8.8.8.8"
      },
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}