---
title: "Return whether DNS cluster server can share records"
method: GET
path: "/cluster_member_has_trust_with"
tags: ["DNS", "DNS Zones"]
---

# Return whether DNS cluster server can share records

`GET /cluster_member_has_trust_with`

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](https://go.cpanel.net/whmdocsDNSCluster) to share information. This relationship requires each server to have an [API token](https://go.cpanel.net/ManageAPITokens).

**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](https://go.cpanel.net/DNSClusterConfig) documentation.

## Query parameters

- `host` string, ipv4, required
- `althost` string, ipv4

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `has_trust` 0 | 1 — Whether the nameserver can send information to other cluster members. * `1` — Can send information. * `0` — Can't send information.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is `0`. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` — Success. * `0` — Failed. Check the `reason` field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
