Sys::HostIP does what it can to determine the IP address of your machine. This module was tested on Irix, OpenBSD, FreeBSD, NetBSD, Solaris, Linux, OSX, Win32, and Cygwin. WWW: https://metacpan.org/release/Sys-HostIP