liveBook · Manning

DNS-01 challenge

As explained in Software Security for Developers

A DNS challenge is a domain-control verification method that requires publishing specified data in the domain's DNS records.

A DNS-01 challenge proves domain control before certificate issuance. The requester receives challenge data, publishes it as a DNS TXT record, and the certificate authority checks the live DNS record before issuing the certificate. section 9.1.3

Domain validation can use several kinds of proof:

  • Email validation uses access to an official domain administrator mailbox. section 9.1.3
  • HTTP-01 validation requires placing a CA-provided file at a specified website URL. section 9.1.3
  • DNS-01 validation requires updating the domain's DNS records with the specified challenge data. section 9.1.3

How Software Security for Developers covers it

How deep it goes
Explains the high-level challenge, DNS update, CA check, and issuance flow without detailing DNS mechanics.
Examples
Uses a certificate request for example.com and a specified DNS TXT record as the concrete validation example.
What it assumes
Assumes a CSR, a requested domain, and access to that domain's DNS settings.
What you can do after
Apply DNS-01 by updating the requested DNS records so the CA can confirm domain control and issue a certificate.
How it connects
Connects domain validation with CSRs, certificate authorities, DNS TXT records, HTTP-01 challenges, and email validation.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Security for Developers. The section links point to the parts of the book it draws on.