diff --git a/utils/dns.py b/utils/dns.py index 70007714..9c8e47a7 100644 --- a/utils/dns.py +++ b/utils/dns.py @@ -38,7 +38,7 @@ def dnsToIp(dns): def textToDns(text): """ Search for possible DNS in an arbitrary text. """ - match = re.findall("\w*\.\w*\.\w*", text) + match = re.findall("\S*\.\w*\.\w*", text) if match: return match else: