|
The DNS Query is an ActiveX control from the Clever Internet ActiveX Suite library.
It can retrieve information about the host / domain by performing a general DNS lookup as specified in RFC 1034, RFC 1035, RFC 1183 and other documents.
- Retrieve any DNS record
- Resolve MX by email address (MX lookup)
- Resolve IP by host name and host by IP address (A and PTR lookups)
- Query Name Servers (NS lookup)
- Host and Mail Server lists
- Custom DNS Query Support
- Free one year upgrades and support
Using DNS Query ActiveX control you can easily get Mail Exchanger list associated with interested email address. DNS Query extracts all major Mail Server details: IP address, Preference, Time-to-live and many more.
DnsQuery1.DnsServer = "192.168.0.1"
DnsQuery1.ResolveMX "John@domain.com"
For Each mx In clDnsQuery1.MailServers
memResult.Text = memResult.Text + "Name: " + mx.Name + vbNewLine + _
"Preference: " + CStr(mx.Preference) + vbNewLine +
"P: " + mx.IPAddress
Next |
Please see the Demos code (DnsLookup) and also the indexed Help documentation provided with the Clever Internet ActiveX Suite installation to learn more about using this control in your application.
|