Show / Hide Table of Contents

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 Source

Listen(CancellationToken)

Listen for DNS queries.

Declaration
Task Listen(CancellationToken token = null)
Parameters
Type Name Description
CancellationToken token

The to use to stop listening.

Returns
Type Description
Task

A task which will run forever unless cancelled.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX