IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

DNS Component

Properties   Methods   Events   Configuration Settings   Errors  

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

Syntax

nsoftware.IPWorks.Dns

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 collection . 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.
RecordsCollection of records in the last response.
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.

CaptureIPPacketInfoUsed to capture the packet information.
DestinationAddressUsed to get the destination address from the packet information.
DontFragmentUsed to set the Don't Fragment flag of outgoing packets.
LocalHostThe name of the local host through which connections are initiated or accepted.
LocalPortThe TCP port in the local host where the component binds.
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.
QOSDSCPValueUsed to specify an arbitrary QOS/DSCP setting (optional).
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.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0