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.
More on DNS
What does DNS do and what happens when you type a URL into a browser?BeginnerWhat are the common DNS record types?BeginnerWhat is the difference between a recursive resolver and an authoritative server?IntermediateExplain the DNS resolution chain step by step with dig.IntermediateWhat is TTL in DNS and how does it affect changes?BeginnerWhat is negative caching in DNS?Intermediate