Skip to main content
A zone is an authoritative namespace such as example.com. It belongs to one project and contains SOA settings and record sets.

Create a zone

Creation returns 201 with {"id": ...}. Save the returned ID for zone_id in record-set, zone-detail, and analytics requests. Creating the zone does not change registrar delegation. The hostmaster address becomes SOA RNAME data. The service converts it to DNS wire-format rules where required. If optional values are omitted or zero, creation uses a negative TTL of 300 seconds, refresh of 7,200 seconds, and retry of 3,600 seconds. The example above supplies explicit values instead. These SOA timers do not set application-record TTLs. The platform creates and manages the apex NS record set. It is excluded from the editable record-set list; use the nameservers displayed by the console for parent delegation.

SOA settings

The zone status can be set to 1 (active) or 0 (inactive). An inactive zone should be treated as unavailable for normal serving; use it deliberately and confirm behavior before relying on it for a maintenance plan.

Nameservers and delegation

Use the nameserver-check endpoint or the console to obtain the project’s configured primary and secondary nameservers. The zone’s delegation status is separate from its enabled status. Follow the DNS quickstart to verify both authoritative servers and then change parent delegation. For an existing live domain, use the migration runbook.

Delete a zone

Move delegation away first. Wait for old delegation and record TTLs to expire, confirm no production queries depend on the zone, and then delete it.
Deleting a zone also removes its authoritative record sets from service. This action cannot be reversed through the API.