Final Version. Prints IP and Domain to ping.