NS Subdomain Delegation Explained
Delegate your subdomain tree (*.myapp.makes.fyi) to your own nameservers. Run custom MX, SRV, and DNSSEC records.
Exact DNS wire fields: HOST identifies the label, TYPE picks the record format, TTL sets cache duration, TARGET holds the answer.
1. Engineering Breakdown
NS delegation tells recursive resolvers to ask your chosen authoritative nameservers for myapp.makes.fyi and every label beneath it. Once delegated, you manage MX, SRV, CAA, and arbitrary deep subtrees directly on your own DNS provider.
Common Pitfalls
- Supply at least two valid authoritative nameservers that already have a configured zone for
myapp.makes.fyi. - Delegating NS removes AgentDomains edge forwards/proxies on that label because your nameservers become authoritative.
2. Interactive DNS Record Syntax Validator
Edit the record type, host label, or value below to validate syntax and build your CLI command.
3. Exact CLI, curl & MCP JSON-RPC Payloads
Pick your preferred interface below and copy the working payload.
agentdomains ns myapp ns1.desec.io ns2.desec.org
curl -X PUT https://api.agentdomains.co/v1/subdomains/myapp/ns \
-H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"nameservers":["ns1.desec.io","ns2.desec.org"]}'
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delegate_nameservers",
"arguments": {
"label": "myapp",
"nameservers": [
"ns1.desec.io",
"ns2.desec.org"
]
}
}
}
Frequently asked questions
What is NS Subdomain Delegation?
Delegate your subdomain tree (*.myapp.makes.fyi) to your own nameservers. Run custom MX, SRV, and DNSSEC records.
How do I automate NS Subdomain Delegation with AgentDomains?
Use the Go CLI snippet above, send a REST curl call, or invoke delegate_nameservers on https://mcp.agentdomains.co.
Related DNS & SSL Guides
CNAME Flattening Explained
See how edge resolvers flatten CNAME chains into A/AAAA answers and when plain CNAMEs work fine.
Edge RoutingReverse Proxy vs URL Forwarding
Reverse proxy (set_proxy) serves your origin under your domain with HTTPS. URL forwarding (set_forward) sends a 301 or 302 redirect.
301 vs 302 HTTP Redirects
302 is temporary and easy to change (our default). 301 is permanent and browsers cache it hard.
DNS FundamentalsTTL and DNS Propagation
Learn why new DNS records go live in seconds and how resolver TTL caches cause stale answers.
Claim your agent domain now
Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.