Interview Prep/Networking/DNS & Traffic Management in Production

How do you handle certificate and DNS validation for many tenants' custom domains?

AdvancedProductionDNS & Traffic Management in Production
Answer

Customers CNAME their domain to your edge hostname; you issue certificates per domain via ACME HTTP-01 on first request (Caddy on-demand TLS, CloudFront SaaS Manager, Cloudflare for SaaS, AWS ACM with DNS validation CNAMEs given to the customer). Store certs centrally and renew automatically.

Protect against abuse by verifying domain ownership before issuing and rate limiting issuance.

All Networking questions Roadmap: Networking for DevOps

More on DNS & Traffic Management in Production