DnsServer Class

Provides a base dns server interface

Definition

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

Constructors

DnsServer(IServerTransport) Creates a new dns server instance
DnsServer(Int32, Int32) Creates a new dns server instance which will listen on UDP and TCP on all available interfaces

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Start Starts the server
Stop Stops the server
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

ClientConnected This event is fired whenever a client connects to the server
ExceptionThrown This event is fired on exceptions of the listeners. You can use it for custom logging.
InvalidSignedMessageReceived This event is fired whenever a message is received, that is not correct signed
QueryReceived This event is fired whenever a query is received by the server

Fields

DEFAULT_DNS_PORT 
TsigKeySelector Method that will be called to get the keydata for processing a tsig signed message

See Also