bot: Update TLSA for DNS to specify DNS
All checks were successful
Build Docker / Build Docker (push) Successful in 16s
All checks were successful
Build Docker / Build Docker (push) Successful in 16s
This commit is contained in:
parent
b7ca3e2ddc
commit
1b9f4eafc8
2
bot.py
2
bot.py
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user