in reply to How to find IP address from hostname?
See the Look up a host's addresses section of the documentation for Net::DNS.