Get your free beta license ↗
API operation · dns group
GET

/dns/status

First published 14 Oct 20260.2.0Unchanged since publication

Get the DNS server status and zone settings

Who may call it
AdministratorResellerCustomer
Token scope, any of
dnsreadall
Answers200 OK

The status object reports whether UrbeStack manages DNS in enabled. When dig is available, the running field uses the status of named from the Services catalog. If the catalog gives no answer, running falls back to whether named responds to a local DNS version query. The running field can be null. The version field reports the version from that query or from the installed named binary. The state field reports the DNS server state.

The closed_ports object reports firewall closures for TCP port 53 under 53 and UDP port 53 under 53/udp. Each entry includes note, since, and id.

The response also includes identity, server_zone, soa, the allow_transfer and also_notify lists, and the record template used for new zones. The ttl and challenge_ttl fields report dns.ttl and dns.challenge_ttl in seconds, with defaults of 3600 and 60, respectively.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/dns/status" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "status": {
    "allow_transfer": [
      "text"
    ],
    "also_notify": [
      "text"
    ],
    "challenge_ttl": 1,
    "enabled": true,
    "identity": {
      "host": "text",
      "hostmaster": "text",
      "ipv4": "text",
      "ipv6": "text",
      "nameservers": [
        "text"
      ]
    },
    "running": true,
    "server_zone": "text",
    "soa": {
      "expire": 1,
      "negative": 1,
      "refresh": 1,
      "retry": 1
    },
    "state": "up",
    "template": [
      {}
    ],
    "ttl": 1,
    "version": "0.0.1"
  }
}

Errors

1 error, each a status and a sentence
401Authentication required
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/api/get-dns-status/