How can I lookup for the MX records corresponding to a particular domain name in iPhone application?
<p>E.g. 
I have a address say: mycompany.com
&amp; there are MX records for this address as:
server1.mycompany.com
server2.mycompany.com
server2.mycompany.com</p>

<p>Now,there's a web serivce which is hosted on all 3 of above servers for redundancy or fallback.
So,before calling the web service from my iPhone app,I want to do lookup for mycompany.com for MX records &amp; invoke the web service on one of the 3 servers returned by MX records.
Which API/Class or framework of iPhone I need to use?
Is it possible with CFHost?</p>
