What is a wildcard DNS record and what is the risk?

IntermediateConceptDNS
Answer

*.example.com matches any name that has no more specific record. It is handy for ingress (*.apps.example.com to a load balancer) and ephemeral preview environments.

Risks: typos silently resolve, subdomain takeover when a dangling record points to a decommissioned service, and certificate wildcard scope. A wildcard matches one label only, never a.b.example.com unless that level also has a wildcard.

All Networking questions Roadmap: Networking for DevOps

More on DNS