# Return DNS record availability & resolver This function returns whether and records are available and the value of the running PowerDNS (PDNS) setting, if any exists. For more information, read our documentation. Endpoint: GET /DNS/is_alias_available Version: 11.134.0.5 Security: BasicAuth ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "is_alias_available" - `module` (string) The name of the module called. Example: "DNS" - `result` (object) - `result.data` (object) - `result.data.alias` (integer) Whether records are available. * - Available. * - Not available. When records are enabled, they may work in API calls that accept and records. However, the record must use a fully qualified domain name (FQDN) rather than an IP address. Enum: 1, 0 - `result.data.aname` (integer) Whether records are available. * - Available. * - Not available. The value is always set to false (i.e. Not available). The record is currently not supported. It is included for completeness and future proofing. Enum: 1, 0 - `result.data.resolver` (string) The value (if any) of the running PDNS’s setting. Example: "8.8.8.8" - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.metadata.transformed` (integer) Post-processing may have transformed the data. Enum: 1 - `result.status` (integer) * — Success. * — Failed. Check the field for more details. Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.