Use meterpreter dns resolve
Merge remote-tracking branch 'upstream/master' into getaddrinfo
Undo move
Add hostfile resolution
Merge HOSTFILE and CSV input

And remember to uniq the array.
Direct to correct module
Land #2418, Use meterpreter hostname resolution