We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can Aspose.Network used for DNS availblility

Hi ,<br><br>I would like to know if it is possible to check if a Domain is available  or not,for example if I want to make a web application for a web hosting company that allows there customers to check if there desired website domain is available or it has been taken by someone else(eg. checking if www.aspose.com is available) ...Is Aspose.Network can do this ?if so I wish if you help with a simple code.<br><br>Thanks.<br>

Hi, osmansays,

Thanks for your post.

Yes, Aspose.Network can do the works that you mentioned. We will provide some simple code for your reference.

Thanks

Dear osmansays,

I think you need a WhoIs protocol client in C#. Aspose.Network.WhoIs is what you want.

Check it out.

using Aspose.Netowrk.WhoIs;

[STAThread]
static void Main(string [] args)
{
WhoIsClient client = new WhoIsClient("whois.internic.net");
string answer = client.Query("microsoft.com");
Console.WriteLine(answer);
Console.Read();

}

Here is the http interface, you can query domain in the webpage. Feel free to let me know if you have any problems.

http://www.internic.net/whois.html

Thanks