The Net Tools Company - 800.225.4190
Search: 
Available in: IP*WORKS!
DNS Component [IP*Works! V8]

Properties   Methods   Events   Configuration Settings  

The DNS component is used to query DNS for record information.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

The DNS component queries a DNS server for records as specified in RFC 1035 and other relevant RFCs. The component property QueryType indicates the record to be queried. Calling Query will initiate the query.

Once the query is complete, a single Response event will fire and the record properties will be filled. StatusCode is the server's success or fail code, and Status is a standard string interpretation of the code.

The records are contained in the Records properties . The programming interface is designed to allow a full walk of the records in the DNS response, including provisions for handling new record types.

The component operates synchronously by default (waits for a response before returning control to the caller), however, the component may also operate asynchronously (return control immediately), by setting Timeout to 0. Please refer to the Timeout property for more information.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

DNSPortThe port to connect to on the DNS Server.
DNSServerThe address of the DNS server.
IdleThe current status of the component.
LocalHostThe name of the local host or user-assigned IP interface through which connections are initiated or accepted.
QueryTypeThe record type to query.
RecordCountThe number of records in the Record arrays.
RecordDomainThis property contains the domain name associated with the selected response record, at RecordIndex.
RecordFieldCountThis property contains the number of properties in the current record.
RecordFieldIndexThis property contains the index of the selected property of the current record.
RecordFieldNameThis property contains the name of the property selected by FieldIndex .
RecordFieldValueThis property contains the value of the property selected by FieldIndex .
RecordDataThis property contains the full record data as received from the DNS server.
RecordTypeThis property contains the record type.
RecordTypeNameThis property contains the string representation of the current record type defined by RecordType .
RecordTTLThis property contains the record Time To Live (TTL) value.
RecordSourceThe source of records provided in the Records properties.
RecursiveDetermines whether to ask the DNSServer to recursively query other servers.
RequestIdThe ID of the current DNS request.
StatusA standard string interpretation of StatusCode.
StatusCodeThe success or error code for the DNS query.
TimeoutA timeout for the component.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

ConfigSets or retrieves a configuration setting.
DoEventsProcesses events from the internal message queue.
GetFieldValueGet the value of the field indicated from a record.
InterruptInterrupt the current method.
QueryQuery a Domain.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ErrorInformation about errors during data delivery.
ResponseFires after a DNS query.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

MaxPacketSizeThe maximum length of the packets that can be received.
ShareLocalPortIf set to True, allows more than one instance of the component to be active on the same local port.
UseConnectionDetermines whether to use a connected socket.
QOSTrafficTypeUsed to specify QOS/DSCP settings (optional).
UseIPv6Whether or not to use IPv6.
AbsoluteTimeoutDetermines whether timeouts are inactivity timeouts or absolute timeouts.
FirewallDataUsed to send extra data to the firewall.
InBufferSizeThe size in bytes of the incoming queue of the socket.
OutBufferSizeThe size in bytes of the outgoing queue of the socket.
CodePageThe system code page used for Unicode to Multibyte translations.
| About | Privacy Policy | Terms of Use |
© Copyright 2012 /n software inc.