Your First Zone
A complete walk-through from zero to a signed, production-ready zone. Takes about 20 minutes of API calls, plus waiting for DNS propagation.
This guide assumes:
- You have a ScaiDNS API key (see Authentication).
- You control the domain you want to manage (registered at your registrar).
- Access to your registrar's admin panel to change NS delegation and publish DS records.
Throughout, we'll use example.com as the placeholder domain and $SCAIDNS_API_KEY for the key.
1. Create the zone#
1 2 3 4 | |
Capture the id from the response — you'll reference it as $DOMAIN_ID below.
Status: pending_validation. Records you add now are stored but not served until validation completes.
2. Prove ownership#
Fetch the validation challenge:
1 2 | |
You get a TXT record to publish at your current DNS provider:
1 2 3 4 5 6 7 8 | |
Add that TXT record at your current provider. Wait for propagation — you can check with dig:
1 | |
When you see the value, tell ScaiDNS to verify:
1 2 | |
Response: {"is_valid": true, ...}. The domain's status is now active.
3. Create records#
A minimal set for a hosted web app:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
@ represents the zone apex. Subdomain names are relative to the zone — www becomes www.example.com.
Bulk create is atomic by default: all succeed or nothing changes.
4. Delegate at the registrar#
In your registrar's admin panel, change the domain's NS records to point at the ScaiDNS nameservers. Ask your ScaiDNS operator which NS hostnames to use — they vary by deployment.
After delegation, verify with dig:
1 | |
The answer section should show the ScaiDNS nameservers. Resolvers may serve the old NS records until the TTL expires.
5. Enable DNSSEC#
With records in place and delegation live, enable DNSSEC:
1 2 3 4 | |
Algorithm 13 is ECDSA P-256 (RFC 6605) — the current recommended default. ScaiDNS generates a KSK and ZSK, signs the zone, and returns the DS records you need to publish at the registrar:
1 2 3 4 5 6 7 8 9 10 11 | |
Publish those DS records at your registrar's DS management page. Once the registrar reflects them in the .com (or your TLD's) zone, notify ScaiDNS:
1 2 3 4 | |
Verify the chain resolves:
1 | |
The ad flag in the header indicates a successful DNSSEC-validated response.
6. Verify everything#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
You now have a zone that's:
- Under ScaiDNS management with full audit trail.
- DNSSEC-signed with a published chain of trust.
- Scoped to your tenant's access controls.
What's next#
- Managing Records — the full record API.
- DNSSEC — key rotation, algorithm choice.
- Templates — bootstrap common record sets.
- Access Grants — delegate specific domains to specific users.