DnsClient Class

Provides a client for querying dns records

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public class DnsClient : DnsClientBase
Inheritance
Object    DnsClientBase    DnsClient

Constructors

DnsClient(IEnumerableIPAddress, Int32) Provides a new instance with custom dns servers and query timeout
DnsClient(IPAddress, Int32) Provides a new instance with custom dns server and query timeout
DnsClient(IEnumerableIPAddress, IClientTransport, Boolean, Int32) Provides a new instance with custom dns servers and query timeout

Properties

Default Returns a default instance of the DnsClient, which uses the configured dns servers of the executing computer and a query timeout of 10 seconds.
Is0x20ValidationEnabled Gets or set a value indicating whether the query labels are used for additional validation as described in draft-vixie-dnsext-dns0x20-00
(Inherited from DnsClientBase)
IsResponseValidationEnabled Gets or set a value indicating whether the response is validated as described in draft-vixie-dnsext-dns0x20-00
(Inherited from DnsClientBase)
QueryTimeout Milliseconds after which a query times out.
(Inherited from DnsClientBase)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetLocalConfiguredDnsServers Returns a list of the local configured DNS servers.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Resolve Queries a dns server for specified records.
ResolveAsync Queries a dns server for specified records as an asynchronous operation.
SendMessage Send a custom message to the dns server and returns the answer.
SendMessageAsync Send a custom message to the dns server and returns the answer as an asynchronous operation.
SendUpdate Send an dynamic update to the dns server and returns the answer.
SendUpdateAsync Send an dynamic update to the dns server and returns the answer as an asynchronous operation.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also