correctly parse nslookup result. fixes #4194
This commit is contained in:
parent
59b8506cf2
commit
c335a96199
|
@ -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('=')
|
||||
|
|
Loading…
Reference in New Issue