Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions kasserver/kasserver_dns_certbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

import kasserver

import time

LOGGER = logging.getLogger("kasserver_dns_certbot")


Expand All @@ -51,6 +53,7 @@ def cli(fqdn, value):
kas = kasserver.KasServer()
fqdn = f"_acme-challenge.{fqdn}"
record = kas.get_dns_record(fqdn, "TXT")
time.sleep(3)
if record:
LOGGER.info(
"Removing existing DNS TXT record for domain %s with value %s",
Expand Down