|
The DNS Query is a component from the Clever Internet 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 component 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.
clDnsQuery1.DnsServer := '192.168.0.1'; clDnsQuery1.ResolveMX('John@domain.com'); for i := 0 to clDnsQuery1.MailServers.Count - 1 do begin mx := clDnsQuery1.MailServers[i]; Memo1.Lines.Add('Name: ' + mx.Name); Memo1.Lines.Add('Preference: ' + IntToStr(mx.Preference)); Memo1.Lines.Add('IP: ' + mx.IPAddress); end; |
Please see the Demos code (DnsLookup) and also the indexed Help documentation provided with the Clever Internet Suite installation to learn more about using this component in your application.
When Purchasing the Clever Internet Suite you receive the full sources for all suite components and also free unlimited support.
|