Results 1 to 6 of 6

Thread: DNS MX lookups

  1. #1
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default DNS MX lookups

    Hi,

    Can anyone recommend a way of looking up MX records on a domain using Qt classes ?
    I found references to Q3DNS, but would rather not use Qt3 support.


    Thanks,

    Steve York

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,518 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: DNS MX lookups

    You mean like... QHostInfo?
    J-P Nurmi

  3. #3
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: DNS MX lookups

    On the surface, the doco doesn't specify anything about getting a list of MX records the way Q3Dns does. Am I mistaken?

    I've found PSI which has an implementation of QDns called QJDns.
    Would this be the better way to go?

    It specifically has a function for getting a string list of MX records.

    Thanks,

    Steve

  4. #4
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: DNS MX lookups

    Aah, I thought QJDns was a straight replacement but it doesn't have the 'mailServers()' function.

  5. #5
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: DNS MX lookups

    So, does anyone know how to get a list of MX records associated with a domain name?
    Is it possible with QHostInfo?

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,518 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: DNS MX lookups

    Interesting, perhaps Trolls missed to add the feature in Qt 4. You could try sending a suggestion.
    J-P Nurmi

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.