Skip to content

Commit

Permalink
custom dns option fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhiteh4t committed Oct 24, 2024
1 parent 06c2811 commit c407a97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ def dnsrec(domain, dns_servers, output, data):
full_ans = []

res = dns.asyncresolver.Resolver(configure=False)
res.nameservers = dns_servers
res.nameservers = [sv.strip() for sv in dns_servers.split(',')]
print(res.nameservers)



async def fetch_records(res, domain, record):
Expand Down

0 comments on commit c407a97

Please sign in to comment.