fix: Update DNS server for other functions
All checks were successful
Build Docker / Build Docker (push) Successful in 18s
All checks were successful
Build Docker / Build Docker (push) Successful in 18s
This commit is contained in:
parent
830e6671af
commit
94362f4a67
4
bot.py
4
bot.py
@ -73,7 +73,7 @@ async def botstatus(ctx, message: str, statusmethod: str = None):
|
||||
async def dig(ctx, domain: str, record_type: str = "A"):
|
||||
record_type = record_type.upper()
|
||||
resolver = dns.resolver.Resolver()
|
||||
resolver.nameservers = ["100.74.29.146"]
|
||||
resolver.nameservers = ["10.2.1.15"]
|
||||
resolver.port = 5350
|
||||
try:
|
||||
# Query the DNS record
|
||||
@ -147,7 +147,7 @@ async def ssl(ctx, domain: str, showcert: bool = False, notifymeonexpiry: bool =
|
||||
await ctx.response.send_message(f"Checking SSL certificate for {domain}...")
|
||||
message = ""
|
||||
resolver = dns.resolver.Resolver()
|
||||
resolver.nameservers = ["100.74.29.146"]
|
||||
resolver.nameservers = ["10.2.1.15"]
|
||||
resolver.port = 5350
|
||||
domain_check = False
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user