diff --git a/bbot/modules/nsec.py b/bbot/modules/nsec.py index cafed732e..bfd770d44 100644 --- a/bbot/modules/nsec.py +++ b/bbot/modules/nsec.py @@ -26,6 +26,7 @@ async def handle_event(self, event): self.emit_event(result, "DNS_NAME", source=event) async def get_nsec_record(self, domain): + domain = domain.replace("\\000.", "") try: for result in await self.helpers.resolve(domain, type="NSEC"): return str(result)