РУС Site Map Contact Us Home
E-mail Newsletter
Subscribe to get informed about
Clever Components news.

Your Name:
Your Email:
Previous Newsletters

Products Articles Downloads Order Support
Customer Portal    

DNS Query Description

Features | Detailed Description

Available in .NET, VCL and ActiveX editions.

The DnsQuery component queries a DNS server for records as specified in RFC 1035RFC 1183 and other documents.

This component 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 Suite installation for more details about using this component.

The most common members of the DnsQuery component can be seen below:

Property List

  Name   Description
 Aliases Stores a list of canonical names of alias (CNAME) records.
 AutodetectServer Looks through the system registry, extracts the name servers for LAN and adds it to the RootNameServers collection.
 Server 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.

Method List

  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.

    Copyright © 2000-2018