Don't have Telegram yet? Try it now!
http://www.macaalay.com/2010/08/06/how-to-get-domain-name-pre-windows-2000-from-fqdn-fully-qualified-domain-name-using-c/
How to get Domain Name (pre-Windows 2000) from FQDN (Fully Qualified Domain Name) using C#