MX lookup using only asp.net library, without third components?

  • Thread starter Thread starter Cleilton
  • Start date Start date
C

Cleilton

Hello all,

I have an apllication in ColdFusion that shows the MX record (mail host
name) from a domain. I enter with the domain name (ex. microsoft.com) and
the aplication return the mail server for that domain (ex.
mail.microsoft.com).

How can I make that using asp.net, only using dns classes or anything like
this?
But I won't to use any component :-) .

Thanks for your attention

===================
Cleilton
WebDeveloper (ASP,PHP,JSP)
(e-mail address removed)
http://www.secrel.com.br
MSN (e-mail address removed)
===================
 
Cleilton said:
Hello all,

I have an apllication in ColdFusion that shows the MX record (mail
host name) from a domain. I enter with the domain name (ex.
microsoft.com) and the aplication return the mail server for that
domain (ex. mail.microsoft.com).

How can I make that using asp.net, only using dns classes or
anything like this?
But I won't to use any component :-) .

Here's a sample that illustrates MX record retrieval:

http://www.csharphelp.com/archives/archive43.html

Cheers,
 
Thanks for your help Joerg :-).
I put the code on my aspx page and all worked very well.
Thanks, thanks

Cleilton (Web Developer)
E-mail: (e-mail address removed)
ICQ: 5717343

---------------------------------
 
Back
Top