Skip to main content
Create a zone and verify its answers before changing your domain’s nameservers. Creating a zone in Aptranet does not change delegation at your registrar.

Before you begin

  • Select a project with an active Cloud DNS service.
  • Have permission to create zones and record sets.
  • Have access to the domain’s registrar or parent zone if you will change delegation.
  • Have dig available for verification. On Windows, use a shell with DNS tools installed, or Resolve-DnsName -Server for direct queries.
This guide uses example.com and the documentation-only address 192.0.2.10. Replace both with your domain and server address.
If the domain already serves production traffic, follow the DNS migration runbook. Recreate mail, verification, and other required records before delegation.
1

Create the zone

Open Cloud DNS → Zones → Create zone and enter example.com without a URL scheme or path.Review the SOA contact and timing fields, then create the zone. Copy the zone ID and the primary and secondary nameservers shown in the console. Use the returned nameservers rather than guessing their names.For automation, use the zone creation example. A successful create returns 201 with {"id": ...}.
2

Add an A record

Open the zone and create a record set with these values:www is relative to the zone: it creates www.example.com. Use @ for the zone apex. The platform creates and manages the apex NS record set; leave it in place.Save the record set. The record sets guide includes the equivalent API request and examples for other types.
3

Query both Aptranet nameservers

Replace the nameserver placeholders with the values from the console.
Check for status: NOERROR, the aa flag, and the expected address and TTL in the A answer. Both nameservers should return your record. Public resolvers can still return the old provider’s answer at this point; delegation has not changed.If a direct query fails, check the zone is active, the record is enabled, and the queried name matches the record set.
4

Complete the zone

Add every required record before the cutover. For an existing domain, compare against your current provider, including MX, TXT, CAA, service records, wildcards, and subdomain delegations.Check DNSSEC at the registrar. A DS record must match the new zone’s signing state; see the migration runbook before changing it.
5

Change delegation

At the registrar or parent zone, replace the domain’s nameservers with the primary and secondary nameservers returned by Aptranet.Editing the zone’s apex NS records is not how you change parent delegation. Keep the old DNS provider active and consistent while cached delegation expires.
6

Verify public resolution

Confirm the trace reaches the assigned Aptranet nameservers. After caches expire, public resolvers should return the expected address. Also test the website and any mail or verification services that depend on the zone.

What success looks like

Both Aptranet nameservers answer authoritatively, parent delegation points to them, and public resolution returns the expected records. Zone status and delegation are separate: an active zone alone does not prove your registrar uses it. Continue with record sets, delegation, or routing policies.