bot: Update TLSA for DNS to specify DNS
All checks were successful
Build Docker / Build Docker (push) Successful in 16s

This commit is contained in:
Nathan Woodburn 2023-09-27 18:06:22 +10:00
parent b7ca3e2ddc
commit 1b9f4eafc8
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

2
bot.py
View File

@ -200,7 +200,7 @@ async def ssl(ctx, domain: str):
# Check for TLSA record
response = resolver.resolve("_443._tcp."+domain, "TLSA")
tlsa_records = []
message = message + "\n## TLSA Records:\n"
message = message + "\n## TLSA Records from DNS:\n"
for record in response:
tlsa_records.append(str(record))
message = message + "- " +str(record) + "\n"