Skip to content
Snippets Groups Projects
Commit c335a961 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

correctly parse nslookup result. fixes #4194

parent 59b8506c
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,8 @@ class Resolver:
domain = None
if line.startswith(fqdn):
domain = fqdn
elif line.startswith(ufqdn):
elif helpers.decode_string(line).startswith(ufqdn):
line = helpers.decode_string(line)
domain = ufqdn
if domain:
rest = line[len(domain):].split('=')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment