added code to lookup an IP address for a domain