The DNS Client library provides functions to translate from a host name (such as www.ibutton.com) to an IP address.
The DNS sample application performs a number of translations from host name to IP address.