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.
So for example, when i give to it: www.stackoverflow.com
it will output to a file (or even in screen, with echo) this line:
69.59.197.21 www.stackoverflow.com
Thanks in advance! Happy new Year! Cheers