Dns Resolver is used to queries DNS servers for host information and programmatically query DNS servers for information,without having to worry about complex packet parsing. It returns information in a humanly readable form. It allows you to programmatically perform DNS record lookups. It can be used from ASP.NET web pages, to windows forms, to web services. DNS is a system that stores information about host name & lists the mail exchange server.