# A Certificate lists *.example.com and example.com. What do its two DNS-01 Challenges show as spec.dnsName?

cert-manager, Medium (Advanced), Concepts. https://k8wiz.com/uquiz/a-certificate-lists-examplecom-and-examplecom-what-do-its-two-dns-01-challenges-show-as-specdnsname

- A. *.example.com and example.com
- B. _acme-challenge.example.com for both
- C. *.example.com for both, with spec.wildcard false on one
- D. example.com for both, with spec.wildcard true on one

**Answer:** example.com for both, with spec.wildcard true on one

**Explanation:** The Challenge API says that for a wildcard identifier, dnsName must be the non-wildcard domain, and the wildcard field is set to true instead. Both challenges are validated with a TXT record at _acme-challenge.example.com, which is also why cert-manager's scheduler runs them one after the other.
