MX lookup using only library, without third components?

Discussion in 'ASP .Net' started by Cleilton, Jan 6, 2004.

  1. Cleilton

    Cleilton Guest

    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. and
    the aplication return the mail server for that domain (ex.

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

    Thanks for your attention

    WebDeveloper (ASP,PHP,JSP)
    Cleilton, Jan 6, 2004
    1. Advertisements

  2. Cleilton

    Joerg Jooss Guest

    Here's a sample that illustrates MX record retrieval:

    Joerg Jooss, Jan 11, 2004
    1. Advertisements

  3. Cleilton

    Cleilton Guest

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

    Cleilton (Web Developer)
    ICQ: 5717343

    Cleilton, Jan 13, 2004
  4. Cleilton


    Sep 25, 2011
    Likes Received:
    New Code

    I have just written an ASP.NET generic handler to do just this (7 years too late)
    ccsalway, Sep 25, 2011
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.