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.

Authorizations:
query Parameters
host
required
string <ipv4>

The nameserver's IP address.

Example: host=192.0.2.0
althost
string <ipv4>
Default: ""

The nameserver's alternate IP address. This is useful, for example, if your DNS cluster exists in a NAT-configured network.

Example: althost=192.0.3.0

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  cluster_member_has_trust_with \
  host='192.0.2.0'

Response samples

Content type
application/json
{
  • "data": {
    • "has_trust": 1
    },
  • "metadata": {
    • "command": "cluster_member_has_trust_with",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}