Skip to content
AnchrasDocumentation
Browse documentation

Networking / User guide

Cloud DNS

Manage DNS zones and records through connected DNS providers.

On this page

Before you begin

Control the domain and have credentials for a supported DNS provider. Public zones must be delegated correctly at the registrar.

Get started

  1. Connect the DNS provider under Integrations and select it for the dns family. Bunny DNS uses the account API key; see Bunny DNS.
  2. Verify zone ownership and delegation where required. Cloud DNS create-zone issues a TXT challenge before the zone is created.
  3. Create the zone, then create records with the intended type, value, and TTL.
  4. Wait for provider reconciliation and verify answers using the assigned authoritative nameservers, then a public resolver.

Operate the service

Inspect record status and provider errors after changes. Plan TTLs before endpoint migrations. Delete records that no longer point to active services while preserving mail and other unrelated zone records.

Availability and limits

Cloudflare, Hetzner Cloud DNS, Hetzner DNS (classic), Route 53, and Bunny DNS have provider reconciliation paths. The Cloud DNS create-zone form currently offers Cloudflare, Hetzner Cloud DNS, Hetzner DNS (classic), and Route 53. For Bunny, select it as the organization DNS provider, then create the zone through the API or anchras dns zone create --provider bunny with the required domain and connection. After creation, manage its records in Cloud DNS or through the CLI. Saving a record in Anchras does not prove public DNS is answering it; delegation, provider state, and caching affect resolution.

Troubleshooting

For missing records, check authoritative nameservers and delegation first. For stale answers, compare authoritative responses with recursive resolver caches and the previous TTL.

Next steps

Connect Bunny DNS if that is your provider, or use the CLI guide and API guide to automate zone and record changes.

CLI commands

Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.

CommandPurpose
dns zone list / get / create / deleteManage Cloud DNS zones. A zone lives in a project: list shows one (--project) and create takes --project. List filters: --provider, --search (zone or domain name substring). Create requires --domain, --provider (cloudflare, hetzner-cloud-dns, hetzner-dns, route53, bunny, …), and --connection; optional --name, --profile, --verification, --dnssec, --project.
dns verify create / check / listIssue, check, and list domain-ownership TXT challenges required before creating a public zone. Domain ownership is organization-level, so these take no --project.
dns record list / create / deleteManage records in a Cloud DNS zone (--zone; list filters by --search (record name substring) and --type; create needs type, name, value, and TTL). A record lives in its zone's project (project_id in -o json), so these commands take no --project.
dns record update <record-id>Change a record's TTL and values (UpdateRecord). Requires --ttl and repeatable --value; both replace the current TTL and value set. Name and type are fixed at create. Supports structured output.
dns external list-zones / record-upsert / record-deleteOperate on an already-delegated external/BYO zone through a connected cloud account.
dns binding list / create / delete <binding-id>Manage BYO zone bindings, the allowlist that lets org members write records in an external zone (admins need none). Create requires --connection, --zone (provider zone id) and --domain; optional --purpose (edge, delegation, vanity; default edge), --member-writable, repeatable --allowed-type (none = every type) and --forbidden-name. List and create support structured output.

API reference

Browse procedures, request and response types, and download the complete OpenAPI contract.