lego/challenge
Matthew Horan 348b6f3721 Resolve CNAME when creating dns-01 challenge (#791)
* Resolve CNAME when creating dns-01 challenge

It may be desirable to host the dns-01 challenge in a zone other than
the one where the challenge is presented. For example, when validating
a.example.com, the challenge may need to live on example.org.

This change resolves CNAMEs encountered when determining the FQDN of the
challenge, and replaces them with the alias.

This PR is based on the original work in #584.

Co-authored-by: Gurvinder Singh <gurvinder.singh@uninett.no>

* review: feature-flip.

* review: restore acmedns test.
2019-02-09 05:02:58 +01:00
..
dns01 Resolve CNAME when creating dns-01 challenge (#791) 2019-02-09 05:02:58 +01:00
http01 Log wildcard domain correctly in validation (#773) 2019-01-26 01:11:45 +01:00
resolver chore: update golangci-lint. (#757) 2019-01-11 19:23:27 +01:00
tlsalpn01 Refactor the core of the lib (#700) 2018-12-06 22:50:17 +01:00
challenges.go Refactor the core of the lib (#700) 2018-12-06 22:50:17 +01:00
provider.go Refactor the core of the lib (#700) 2018-12-06 22:50:17 +01:00