TLS SNI (Server Name Indication) Explained
Learn how TLS SNI lets one IPv4 server or edge node serve hundreds of HTTPS domains.
Exact DNS wire fields: HOST identifies the label, TYPE picks the record format, TTL sets cache duration, TARGET holds the answer.
1. Engineering Breakdown
In the TLS ClientHello step, the client sends the requested hostname inside SNI. Your reverse proxy reads SNI, picks the right cert, and routes traffic to the matching backend.
Common Pitfalls
- If
curl https://203.0.113.10fails with a cert mismatch whilecurl https://myapp.makes.fyiworks, SNI is functioning exactly as intended.
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.
openssl s_client -servername myapp.makes.fyi -connect myapp.makes.fyi:443 </dev/null 2>/dev/null | openssl x509 -noout -subject -dates
curl -vI https://myapp.makes.fyi 2>&1 | grep -E "subject:|expire date:|issuer:"
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_domain",
"arguments": {
"label": "myapp"
}
}
}
Frequently asked questions
What is Server Name Indication (SNI)?
Learn how TLS SNI lets one IPv4 server or edge node serve hundreds of HTTPS domains.
How do I automate TLS SNI (Server Name Indication) with AgentDomains?
Use the Go CLI snippet above, send a REST curl call, or invoke get_domain on https://mcp.agentdomains.co.
Related DNS & SSL Guides
ACME DNS-01 Challenge
Prove domain control to Let’s Encrypt with a TXT record at _acme-challenge.<hostname>. Works behind NAT and for wildcards.
HTTP-01 vs DNS-01 SSL Validation
Compare HTTP-01 (port 80) and DNS-01 (_acme-challenge TXT) for Let’s Encrypt TLS. Or skip both with edge proxy.
Wildcard SSL on Subdomains
Issue a single *.myapp.makes.fyi TLS certificate covering unlimited deeper sub-labels (a.myapp.makes.fyi, b.myapp.makes.fyi) via ACME DNS-01.
Let’s Encrypt Rate Limits on Subdomains
Avoid Let’s Encrypt weekly rate limits. Test with staging ACME first, or use AgentDomains edge proxy.
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.