DNS
DNS Zones
Return whether DNS cluster server can share records
This function queries whether nameservers in a DNS cluster can share records with one another. Servers in a DNS cluster must exist in a Reverse Trust relationship to share information. This relationship requires each server to have an API token.
Note:
DNS servers in a Write-Only role do not need to exist in a Reverse Trust relationship. For more information, read our Guide to DNS Cluster Configurations documentation.
get/cluster_member_has_trust_with
Query parameters
hoststring ipv4 required
Example:192.0.2.0
The nameserver's IP address.
althoststring ipv4
Example:192.0.3.0
The nameserver's alternate IP address. This is useful, for example, if your DNS cluster exists in a NAT-configured network.
Response
HTTP Request was successful.
Example response
{
"data": {
"has_trust": 1
},
"metadata": {
"command": "cluster_member_has_trust_with",
"reason": "OK",
"result": 1,
"version": 1
}
}