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.
HTTP Request was successful.
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --output=jsonpretty --user=username DNS is_alias_available
{- "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
}
}