|
The DnsQuery ActiveX control queries a DNS server for records as specified in RFC 1035, RFC 1183 and other documents.
This ActiveX control can retrieve the mail exchange domain (MX records), resolve the host IP, retrieve the information about name servers and many other information from the DNS server.
Please see the Demos code (DnsLookup) and also the indexed Help documentation provided with the Clever Internet ActiveX Suite installation for more details about using this control.
The most common members of the DnsQuery control can be seen below:
Name |
Description |
Aliases |
Stores a list of canonical names of alias (CNAME) records. |
DnsServer |
Specifies the DNS server IP to connect to. |
Hosts |
Stores a list of hosts of A records. |
IsRecursiveDesired |
Indicates if recursive DNS queries are desired on the DNS server. |
MailServers |
Stores a list of mail exchange hosts of MX records. |
NameServers |
Stores a list of name servers of NS records. |
Port |
Specifies the port that allows the desired component to connect to the DNS server. |
TimeOut |
Determines the time-out interval (in milliseconds) for initiating DNS queries. |
|
Name |
Description |
Resolve |
Sends a given DNS query to the DNS server and parses the server response. |
ResolveHost |
Creates a DNS PTR query and resolves the DNS host information about the selected IP. |
ResolveIP |
Creates a DNS A query and resolves the DNS IP information about the selected host. |
ResolveMX |
Creates a DNS MX query and resolves the DNS mail exchange information about the selected email or domain. |
ResolveNS |
Creates a DNS NS query and resolves the DNS name servers information about the selected host. |
|
|