($name,$aliases,$addrtype,$length,@addrs) = gethostbyname($name); [download]
In reply to Re: host with multiple ip addresses by mpeppler in thread host with multiple ip addresses by jfroebe