Interface IDnsServer
Represents a server capable of receiving DNS requests.
Namespace: Ae.Dns.Protocol
Assembly: Ae.Dns.Protocol.dll
Syntax
public interface IDnsServer : IDisposable
Methods
| Improve this Doc View SourceListen(CancellationToken)
Listen for DNS queries.
Declaration
Task Listen(CancellationToken token = null)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | token | The |
Returns
Type | Description |
---|---|
Task | A task which will run forever unless cancelled. |