MX Record of domains using certain dns in c#

September 7, 2010 at 05:12:15
Specs: Windows XP
Hi Friends,

I need to find the MX Record for particular domain using certain Dns server in c#.And i can able to do it local using the code in the below link.

But i need to find it for different Dns servers.

Could anyone tell me how to do this using c#.

Thanks in Advance.


See More: MX Record of domains using certain dns in c#

Report •

September 8, 2010 at 12:41:04
I'm not sure why you'd think two different DNS servers will give you two different answers, but that's neither here nor there.

The .NET's DNS methods and the Win32 DNS functions really are not designed for what you're wanting to do.

Your best bet would be to look towards the open source projects. A quick Google search turned up a C# implementation on CodeProject that might be what you're looking for.

Report •
Related Solutions

Ask Question