I was poking around the OpenNTF Codebin today and found this little gem by Andrew Jones. I don't know if this has been around for awhile or not, but it's pretty handy none-the-less. I had been using this class, also from the OpenNTF code bin to perform this type of stuff, though I never could find anything to get the internet domain name. Now I can, which is cool...