DNS Infrastructure
Subdomain Delegation: Moving Part of Your DNS Without Moving Everything
A subdomain can have its own nameservers while the parent domain stays where it is. Here's how to create that boundary, test the child zone, and avoid delegation mistakes.
October 15, 2026
Your website and email are managed at one DNS provider, but the team running your application wants control of its own records. You don't have to move the whole domain or give that team access to everything.
You can delegate app.example.com to a separate zone. The existing provider continues serving example.com, while the application team manages the records inside the delegated branch.
A subdomain is not automatically a separate zone
Adding an A record for app.example.com to the example.com zone creates a subdomain, but the same nameservers still answer for it.
Delegation creates a different arrangement: the parent publishes NS records telling resolvers which nameservers handle the child. This boundary is often called a zone cut.
For example, the parent zone could contain:
app.example.com. 3600 IN NS ns1.child-provider.example.
app.example.com. 3600 IN NS ns2.child-provider.example.
Those server names are illustrative. Copy the exact nameserver set your provider assigned to the child zone. Some providers, Route 53 among them, assign a different set to every hosted zone, and pointing the delegation at the wrong set produces REFUSED or SERVFAIL errors rather than answers.
The child provider then serves a zone named app.example.com. Its records might include:
app.example.com. 300 IN A 203.0.113.20
api.app.example.com. 300 IN A 203.0.113.21
The child also has its own SOA and apex NS records, usually created by the provider. AWS documents this arrangement in its subdomain setup guide.
Build the child before publishing the referral
Create the child zone and copy the records it needs before directing public resolvers to it. If the branch already exists in the parent, inventory everything beneath it, including TXT records, wildcards, mail records, and deeper delegations.
A common trap is leaving api.app.example.com only in the parent zone. Once the delegation exists, the parent stops answering for anything at or below app.example.com and sends resolvers to the child instead. Records left behind in the parent are ignored, and some providers won't let you keep them at all.
Also check the child apex. An ordinary CNAME cannot coexist with the SOA and NS records required there. If app.example.com previously used a CNAME, moving it to a zone apex may require a supported ALIAS or ANAME alternative.
Test the child directly
Before adding the parent-side NS records, query each assigned child nameserver:
dig @ns1.child-provider.example app.example.com SOA +norecurse
dig @ns1.child-provider.example app.example.com A +norecurse
dig @ns2.child-provider.example api.app.example.com A +norecurse
Replace all example names with your real configuration. Look for authoritative responses, the intended values, and consistency across servers.
Once the child is ready, add the delegation in the parent zone. For a normal subdomain delegation, this happens at the parent's DNS provider. You aren't replacing the registrar's nameservers for the entire registered domain.
During a move of an existing branch, keep the old configuration available while earlier answers expire. Don't assume the cutover is immediate.
Glue and DNSSEC need separate attention
If a delegated nameserver is itself inside the child, such as ns1.app.example.com, a resolver needs an address before it can ask that server for the address. The parent supplies supporting A or AAAA data called glue.
Using the external nameservers assigned by a managed provider usually avoids that particular circular dependency. If you operate your own nameservers, follow the parent provider's glue configuration process. The IETF's DNS terminology reference explains these delegation terms.
DNSSEC is another boundary to plan. Signing the parent doesn't automatically sign the child. A securely delegated child needs the appropriate DS record in the parent and matching keys and signatures in the child. Publish a DS record only as part of a working signing setup.
Verify the path, not just the dashboard
After publishing the delegation, inspect how resolution reaches the child:
dig +trace api.app.example.com A
dig @1.1.1.1 api.app.example.com A
dig @8.8.8.8 api.app.example.com A
A child zone can answer perfectly when queried directly and still be unreachable through normal resolution if the parent referral is missing or wrong.
If the trace reaches the intended servers but answers differ between resolvers, investigate TTLs and DNSSEC. If it reaches the wrong servers, start with the parent delegation.
What the separation gives you
Delegation is useful when a team, hosting platform, or separate account should manage a specific branch. It reduces the records that team needs to edit, and it lets the branch move providers independently.
The parent remains powerful: whoever controls its delegation can redirect the child. Treat delegation as an operational boundary, not independence from the parent domain.
The reverse risk matters too. If the child zone is later deleted at its provider while the parent's NS records still point there, the delegation is left dangling. On some providers, someone else can create a zone with the same name on those servers and start answering for your subdomain. When you retire a delegated branch, remove the parent's NS records first. The service cleanup checklist covers this in more detail.
How DNS monitoring fits in
OneDollarDNS checks each monitored host against your domain's own authoritative nameservers. When a host sits in a delegated branch, those servers return a referral instead of an answer, and OneDollarDNS follows it to the child's nameservers, so the host keeps being monitored after cutover. If the child zone doesn't serve the same records the parent did, expect change alerts for those hosts at cutover. That's a useful confirmation that the referral is live and a prompt to check the child zone is complete.
Delegated nameservers are watched too. If the child's nameservers stop replying, you get a "Nameservers not responding" alert naming the affected hosts, even while the rest of your domain answers normally.
Keep watching the records in the parent zone that your services still depend on, keep an owner for the delegation, and verify critical child hostnames against their new nameservers. The NS explainer and provider migration checklist cover the broader pieces of that process.
Monitor your DNS for $1/month
OneDollarDNS watches your DNS records and alerts you the moment anything changes.
Get started free