How to Delegate DNS for a Subdomain
DNS delegation gives a child zone its own authoritative nameservers. If another team manages lab.example.com independently, the parent zone example.com can delegate that branch while retaining authority for its other names. A CNAME at the child name serves a different purpose: it points to a hostname and does not give the target authority over every name below the branch.
Prepare the child before touching the parent
- Create lab.example.com at the child DNS provider and enter the intended records, including a known test record below the child. Save the parent configuration first.
- Obtain the exact authoritative nameservers from the child provider. In the authoritative parent zone, add NS records for the child using those hostnames. A child nameserver inside its own delegated branch can require address glue. Confirm the supported setup with the parent provider.
- Query both the parent and child servers directly. The parent should send a referral for the branch, while each child server should answer authoritatively for the test record. Then repeat through a normal recursive resolver.
If DNSSEC is enabled, coordinate the child’s DS separately with the relevant providers. If an authority returns NXDOMAIN, confirm the expected test name exists in the new child zone and that the recursive resolver has refreshed the delegation.
If new names stop matching the wildcard once a subdomain has delegated records, diagnose a missing DNS wildcard result using the active zone.
Related guides
- Nameservers and DNS Delegation Explained
- How to Create and Verify a Website Subdomain
- How to Export and Review a DNS Zone Before Editing It
- Domains and DNS category
Official references
Ferkesh Hosting. Last reviewed .
Спасибі за відгук!