Skip to content

Commit

Permalink
Version 3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed Dec 14, 2020
1 parent 220f580 commit 020a151
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## master - CURRENT

## 3.8.0 - 15/12/2020
### Added
* DNS challenges can now be done using the DNS alias mode, which consists in delegating
challenges to a different DNS zone different using CNAME records. To use it the
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "dnsrobocert"
version = "3.7.5"
version = "3.8.0"
description = "A tool to manage your DNS-challenged TLS certificates"
license = "MIT"
keywords = [
Expand Down
4 changes: 3 additions & 1 deletion src/dnsrobocert/core/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ def resolve_canonical_challenge_name(name: str) -> str:

while True:
try:
answer = resolver.resolve(current_name, rdtype=dns.rdatatype.RdataType.CNAME)
answer = resolver.resolve(
current_name, rdtype=dns.rdatatype.RdataType.CNAME
)
current_name = str(answer[0].target)
if current_name in visited:
resolution_map = " -> ".join([*visited, current_name])
Expand Down

0 comments on commit 020a151

Please sign in to comment.