title: Script to output the resolved hostnames to a file
body: <p>Im looking for a script (batch, perl, vb or whatever) that will resolve the hostnames i will give to it into IPS and output a file(optionally) with them, just as the Windows Hosts File.</p>
  
  <p>So for example, when i give to it: www.stackoverflow.com</p>
  
  <p>it will output to a file (or even in screen, with echo) this line:</p>
  
  <p>69.59.197.21 www.stackoverflow.com</p>
  
  <p>Thanks in advance! Happy new Year!
  Cheers</p>