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

/domains/{name}/dns

First published 3 Oct 20260.1.0Unchanged since publication

Get the DNS zones for a domain and its aliases

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

The response includes the domain's zone in zone and maps aliases with zones to their zone details in alias_zones. For a subdomain, zone is null and parent identifies the domain whose zone holds the subdomain's records. zone is also null if no zone exists for the domain.

For each zone, public_nameservers lists the nameservers found in public DNS, nameservers lists the nameservers UrbeStack uses, and delegated_here indicates whether the public delegation points to those nameservers. The zone includes its DNS records, the apex NS and glue records UrbeStack generates in panel_rows, and the record sets an administrator has taken over in taken, along with the values UrbeStack would generate for those sets. A distributed client zone also identifies its client by IP address and label.

The points_here result checks the domain's public A and AAAA records against the server's IP addresses configured in dns.ipv4 and dns.ipv6. Its answer is yes if any IP address matches and no otherwise. When the lookup runs, the result includes the IP addresses found and any matching IP address. If the hostname is unavailable or is localhost, dig is unavailable, or the server has no configured IP addresses, the answer is unknown and the result gives the reason.

Parameters

namepath ·DomainNameRequired

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/domains/example.com/dns" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "alias_zones": {},
  "parent": "example.com",
  "zone": {
    "automatic": true,
    "delegated_here": "yes",
    "domain": "example.com",
    "kind": "domain",
    "name": "alice",
    "nameservers": [
      "text"
    ],
    "panel_rows": [
      {
        "content": "text",
        "name": "alice",
        "type": "rebuild"
      }
    ],
    "public_nameservers": [
      "text"
    ],
    "records": [
      {
        "content": "text",
        "created_at": "2026-09-09T10:15:00Z",
        "id": 1,
        "managed_key": "text",
        "name": "alice",
        "origin": "yours",
        "priority": 1,
        "server": true,
        "system": true,
        "ttl": 1,
        "type": "A"
      }
    ],
    "serial": 1,
    "taken": [
      {
        "name": "alice",
        "panel": [
          "text"
        ],
        "type": "rebuild"
      }
    ],
    "user": "alice"
  }
}

Errors

9 errors, each a status and a sentence
400Domain name required
400Domain name too long
400Invalid IPv4 address
400Invalid IPv6 address
400Invalid domain name
400Invalid port
400Invalid setting key
401Authentication required
404Setting '<key>' not found
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-domains-name-dns/