
This is used to get the MX records of a host. This is a usercontrol, with a demo project. It has a ton of good code. Including how to get the DNS of your local machine in code in every possible way (there are many). So the control can find the dns itself.
This code has code from Jason Martin (https://www.vbcoders.com/xq/ASP/txtCodeId.11006/lngWId.1/qx/vb/scripts/ShowCode.htm)
Inputs
host, ie: mail.com
Returns
MX host, ie: intake-1.mail.com
Side Effects
none.
API Declarationsin the zip