• DnsClient
  • Readme
  • Api Docs
  • MichaCo.net
This site uses "cookies" - small data files stored locally on your computer - to save information about your preferences when using this site. Learn More.

    Show / Hide Table of Contents

    Namespace DnsClient

    Classes

    DnsQueryAndServerOptions

    The options used to override the defaults of LookupClient per query.

    DnsQueryAndServerSettings

    The readonly version of DnsQueryOptions used to customize settings per query.

    DnsQueryExtensions

    Extension methods for the IDnsQuery contract.

    The methods implement common queries which are more complex and have some business logic.

    DnsQueryOptions

    The options used to override the defaults of LookupClient per query.

    DnsQueryResponse

    The response returned by any query performed by IDnsQuery with all answer sections, header and message information.

    DnsQuerySettings

    The options used to override the defaults of LookupClient per query.

    DnsQuestion

    The DnsQuestion class transports information of the lookup query performed by IDnsQuery.

    A list of questions is returned by IDnsQueryResponse (although, the list will always contain only one DnsQuestion).

    DnsResponseException

    A DnsClient specific exception transporting additional information about the query causing this exception.

    DnsResponseHeader

    The header section of a IDnsQueryResponse.

    DnsResponseParseException

    DnsString

    The DnsString type is used to normalize and validate domain names and labels.

    Logging

    LookupClient

    The LookupClient is the main query class of this library and should be used for any kind of DNS lookup query.

    It implements ILookupClient and IDnsQuery which contains a number of extension methods, too. The extension methods internally all invoke the standard IDnsQuery queries though.

    LookupClientOptions

    The options used to configure defaults in LookupClient and to optionally use specific settings per query.

    LookupClientSettings

    The readonly version of LookupClientOptions used as default settings in LookupClient.

    NameServer

    Represents a name server instance used by ILookupClient. Also, comes with some static methods to resolve name servers from the local network configuration.

    ServiceHostEntry

    Extends IPHostEntry by the Port property.

    Tracing

    Interfaces

    IDnsQuery

    Generic contract to query DNS endpoints. Implemented by LookupClient.

    IDnsQueryResponse

    Contract defining the result of a query performed by IDnsQuery.

    ILookupClient

    The contract for the LookupClient.

    The interfaces for the query methods and the lookup client properties are separated so that one can inject or expose only the IDnsQuery without exposing the configuration options.

    Enums

    DnsHeaderResponseCode

    4 bit response codes of the IDnsQueryResponse's header.

    DnsOpCode

    Specifies kind of query in this message. This value is set by the originator of a query and copied into the response.

    DnsResponseCode

    Extended response codes of the IDnsQueryResponse with OPT.

    QueryClass

    CLASS fields appear in resource records.

    QueryType

    The query type field appear in the question part of a query. Query types are a superset of ResourceRecordType.

    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net