Skip to content

Commit

Permalink
Version 3.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed May 6, 2022
1 parent bf75906 commit eb13956
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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.20.0 - 07/05/2022
### Modified
* Upgrade to Certbot 1.27.0
* Upgrade to Lexicon 3.11.0 (new providers: `namecom` + various fixes)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "dnsrobocert"
version = "3.19.0"
version = "3.20.0"
description = "A tool to manage your DNS-challenged TLS certificates"
license = "MIT"
keywords = [
Expand Down
6 changes: 2 additions & 4 deletions src/dnsrobocert/core/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import tldextract
from dns.exception import Timeout
from dns.rdatatype import RdataType
from dns.resolver import get_default_resolver, NXDOMAIN, NoAnswer
from dns.resolver import NXDOMAIN, NoAnswer, get_default_resolver
from lexicon.client import Client
from lexicon.config import ConfigResolver

Expand Down Expand Up @@ -96,9 +96,7 @@ def resolve_canonical_challenge_name(name: str) -> str:

while True:
try:
answer = resolver.resolve(
current_name, rdtype=RdataType.CNAME
)
answer = resolver.resolve(current_name, rdtype=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 eb13956

Please sign in to comment.