---
title: "Cluster-wide DNS resolver health (ADR-024): whether cluster DNS is enabled, the total record count, and per-node resolver status as last reported by each node's heartbeat. Lets an operator answer \"is cluster DNS actually healthy right now\" without SSHing into a node to read logs."
method: GET
path: "/cluster/dns/status"
tags: ["Nodes"]
---

# Cluster-wide DNS resolver health (ADR-024): whether cluster DNS is enabled, the total record count, and per-node resolver status as last reported by each node's heartbeat. Lets an operator answer "is cluster DNS actually healthy right now" without SSHing into a node to read logs.

`GET /cluster/dns/status`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/cluster/dns/status`
- Auth: HTTP bearer

Same permission as the other node visibility endpoints in this file
(`admin_list_nodes`, `admin_get_node`) — this is operational/infra
visibility, not a new privilege tier.

## Response `200`

Cluster DNS resolver health

- ClusterDnsStatusResponse: Response from `GET /api/cluster/dns/status`.
  - `cluster_dns_enabled` boolean, required: Whether cluster DNS is currently enabled cluster-wide (`AppSettings.cluster_dns.enabled`). When `false`, every node's per-node values below are expected to show `dns_resolver_running: Some(false)` (or `None` if a node has never reported).
  - `deployments_without_resolver` DeploymentWithoutResolver[], required: Applications whose running containers were created without the cluster resolver, so they cannot resolve `*.temps.local` names until redeployed: a container's nameservers are fixed when it is created. Empty while cluster DNS is off. Databases are not listed; they do not look up other services by name.
    - `deployment_id` integer, required
    - `environment_id` integer, required
    - `environment_name` string, required
    - `hosts` ResolverCoverageHost[], required: Hosts running one of its containers without the resolver.
      - `node_id` integer, nullable: `None` for the control plane, which has no node row.
      - `node_name` string, required
    - `project_id` integer, required
    - `project_name` string, required
    - `project_slug` string, required
  - `deployments_without_resolver_error` string, nullable: Set when the list above could not be computed; the rest of the response is still accurate.
  - `name_conflicts` DnsNameConflictEntry[], required: Names refused because another owner holds them. Empty on a healthy cluster; each entry needs one side renamed or removed.
    - `first_seen_at` string, required
    - `fqdn` string, required: The contested name, normalised (lower case, no trailing dot).
    - `holder_id` integer, required
    - `holder_kind` string, required: Owner that holds the name.
    - `last_seen_at` string, required
    - `owner_id` integer, required
    - `owner_kind` string, required: Owner whose publish is refused: `environment`, `service_role`, `service_member`, `node` or `static`.
  - `nodes` NodeDnsStatusEntry[], required
    - `dns_resolver_consecutive_failures` integer, required
    - `dns_resolver_last_error` string, nullable
    - `dns_resolver_last_sync_at` string, nullable
    - `dns_resolver_record_count` integer, nullable
    - `dns_resolver_running` boolean, nullable: `None` = never reported (older agent, or a single-host node that never allocates a `compute_cidr` and so never touches cluster DNS).
    - `dns_resolver_tasks_alive` boolean, nullable
    - `internal_proxy_address` string, nullable: What containers call, e.g. `10.205.0.1:80`.
    - `internal_proxy_error` string, nullable: Why the calls are not served, written for the operator; `None` while they are.
    - `internal_proxy_listen_address` string, nullable: The proxy's own listener, e.g. `10.205.0.1:591`, while the agent holds it.
    - `internal_proxy_listening` boolean, nullable: Whether containers' calls to port 80 of the node's bridge address, where every `<env>.<project>.temps.local` name points, are served. The resolver can be healthy while this is `false`: the names resolve and every call fails. `None` = not reported (older agent, or no overlay bridge yet).
    - `internal_proxy_mode` 'redirect' | 'direct' | 'down', nullable: How a worker serves port 80 of its bridge address (ADR-098 D5).
    - `internal_proxy_redirect` 'installed' | 'missing' | 'unsupported', nullable: Whether a worker's port-80 redirect is in place.
    - `internal_proxy_redirect_error` string, nullable: Why the redirect is missing, also while the fallback serves.
    - `node_id` integer, required
    - `node_name` string, required
    - `node_status` string, required: The node's own status field (`active`, `offline`, `draining`, …) — included so an operator can tell "resolver down" apart from "node down" at a glance, without a second request.
    - `seconds_since_last_sync` integer, nullable: Computed from `dns_resolver_last_sync_at` against "now" server-side — a raw timestamp makes an operator do the subtraction themselves for every node; a staleness age is what actually answers "is this healthy right now". `None` when `dns_resolver_last_sync_at` is `None`.
  - `total_record_count` integer, required: Total `*.temps.local` records currently registered across the whole cluster (`service_endpoints` row count), independent of any single node's resolver health.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-11-12** `e052e98bb073`: 7 info
  - added the optional property `nodes/items/internal_proxy_address` to the response with the `200` status
  - added the optional property `nodes/items/internal_proxy_error` to the response with the `200` status
  - added the optional property `nodes/items/internal_proxy_listen_address` to the response with the `200` status
  - added the optional property `nodes/items/internal_proxy_listening` to the response with the `200` status
  - …3 more
- **2026-10-28** `b8d51a990805`: 3 info
  - added the optional property `deployments_without_resolver_error` to the response with the `200` status
  - added the required property `deployments_without_resolver` to the response with the `200` status
  - added the required property `name_conflicts` to the response with the `200` status
- **2026-09-07** `11b114eb9283`: 1 info
  - endpoint added
- **2026-09-07** `f7404eb7ac98`: 1 breaking
  - api path removed without deprecation
- **2026-08-27** `964de88ec3c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/cluster/dns/status/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
