Thread: Program to fetch MX servers

  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    1

    Code to get MX servers

    Hello, I'm looking for a C code to fetch the MX servers from a domain.
    I've already found one for UNIX, but even after serching hardly the net I couldn't find a windows code.

    The UNIX code is here: http://www.opensource.apple.com/darw...chmail/mxget.c

    For the unstarted people, to query a domain for MX servers one can type this command in Windows XP:

    nslookup -querytype=mx domain.com


    Also, is there any program to convert a UNIX code to a Windows one?
    Last edited by lopes; 03-23-2006 at 07:08 PM.

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  2. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  3. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM