ComponentSpace DNS Class Library Reference

DnsClient Members

DnsClient overview

Public Static (Shared) Properties

DnsServerList Gets the list of configured DNS servers.

Public Static (Shared) Methods

CreateReverseLookupName Creates a reverse lookup name for use in a DNS reverse lookup. For example, given an address of 66.210.153.10 it returns 10.153.210.66.IN-ADDR.ARPA. For more information about reverse lookups, refer to RFC 1035.

Public Instance Constructors

DnsClient Overloaded. Initializes a new instance of the DnsClient class.

Public Instance Properties

ReceiveTimeout Gets or sets the number of milliseconds to wait for the response from the server.
SynchronizingObject Gets or sets the synchonizing object for receiving events.

Public Instance Methods

BeginLookupOverloaded. Initiates an asynchronous lookup operation.
BeginReceiveOverloaded. Initiates an asynchronous receive operation.
BeginReverseLookupOverloaded. Initiates an asynchronous reverse lookup operation.
BeginSendOverloaded. Initiates an asynchronous send operation.
Dispose Dispose of the DnsClient and the underlying socket object.
EndLookup Completes the specified asynchronous lookup operation.
EndReceive Completes the specified asynchronous receive operation.
EndReverseLookup Completes the specified asynchronous reverse lookup operation.
EndSend Completes the specified asynchronous send operation.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Lookup Performs a forward DNS lookup to resolve the host name to one or more IP addresses. For example, www.componentspace.com is resolved to 66.210.153.10.
Receive Returns a DNS response message from the server.
ReverseLookup Performs a reverse DNS lookup to resolve an IP address to one or more host names. For example, 66.210.153.10 is resolved to www.componentspace.com. For more information about reverse lookups, refer to RFC 1035.
Send Send a DNS request message to the server.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

LookupCompleted Occurs when the lookup operation has completed.
ReceiveCompleted Occurs when the receive operation has completed.
SendCompleted Occurs when the send operation has completed.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DnsClient Class | ComponentSpace.Dns Namespace