I am tying to get information about DNS aliases of specified host name.
I used :
IPHostEntry hostEntry = Dns.GetHostEntry("hostname")
The Aliases property of the IPHostEntry instance returned is not populated by this method and will always be empty.
Worth noting about the DNS Lookup project is it got a secondary class called DnsProvider which provides the "proper" way of getting the DNS servers from the system without using the registry.
See http://dnslookup.codeplex.com/wikipage?title=Usage&referringTitle=Documentation for more info on that.