[Qt-interest] How to query MX records of a domain using Qt?
Sudheesh Krishnankutty
sudheesh at softjin.com
Thu Jun 23 11:30:50 CEST 2011
Hi,
Qt seem to be using getaddrinfo() which supports only 'A' records. You may
need to write your own function using res_query() function with type set to
T_MX.
Have a look at
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.i
bm.aix.commtechref/doc/commtrf2/res_query.htm.
Regards,
Sudheesh
From: qt-interest-bounces+sudheesh=softjin.com at qt.nokia.com
[mailto:qt-interest-bounces+sudheesh=softjin.com at qt.nokia.com] On Behalf Of
cpeixin
Sent: Thursday, June 23, 2011 2:29 PM
To: qt-interest
Subject: [Qt-interest] How to query MX records of a domain using Qt?
Hello friends:
I am trying to find the MX records of a domain, but it seems that
QtNetwork module doesn't support that.
For example, I want to find MX records of google.com, then it will
return "alt2.aspmx.l.google.com ", "alt3.aspmx.l.google.com " and so on.
Sorry for my poor English.
Could you tell me how to do? Thanks very much!
2011-06-23
_____
pxchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110623/1e15ea48/attachment.html
More information about the Qt-interest-old
mailing list