Skip to content

Commit

Permalink
fix bug in dns.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Feb 2, 2024
1 parent 108f582 commit 206e054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbot/core/helpers/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,8 +823,8 @@ async def is_wildcard(self, query, ips=None, rdtype=None):
for t in rdtypes_to_check:
raw_results, errors = await self.resolve_raw(query, type=t, use_cache=True)
if errors and not raw_results:
self.debug(f"Failed to resolve {query} ({_rdtype}) during wildcard detection")
result[_rdtype] = (None, parent)
self.debug(f"Failed to resolve {query} ({t}) during wildcard detection")
result[t] = (None, parent)
continue
for __rdtype, answers in raw_results:
base_query_results = set()
Expand Down

0 comments on commit 206e054

Please sign in to comment.