Hi there,

I want to be able to see when an nslookup fails to resolve an FQDN. For example: nslookup bbccccccc.co.uk will return: Non-existent domain at the end of its report. This is the part I want to detect.

I tried exporting the shell results to a txt file

 Code:
 Shell '%COMSPEC% /C nslookup ' + $x + ' >Result.txt'


but for some reason it doesn't capture all the text. @ERROR is no good either as it always returns code 0 as the nslookup command itself has not failed.

Any help on this would be great!

Thanks in advance.
Glenn.