This command line program will tell you what your current domain name and IP address is.