[Qt-interest] How to query MX records of a domain using Qt?

Thiago Macieira thiago at kde.org
Thu Jun 23 15:10:47 CEST 2011


On Thursday, 23 de June de 2011 15:00:50 Sudheesh Krishnankutty wrote:
> 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.

Just to be technically correct: getaddrinfo was *introduced* to the world by 
the IPv6 specs, so it supports at least A and AAAA. Depending on your DNS 
resolver settings, it also supports the experimental A6 query type.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110623/8e572f1f/attachment.bin 


More information about the Qt-interest-old mailing list