• 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

    Interface 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.

    Inherited Members
    IDnsQuery.Query(String, QueryType, QueryClass)
    IDnsQuery.Query(DnsQuestion)
    IDnsQuery.Query(DnsQuestion, DnsQueryAndServerOptions)
    IDnsQuery.QueryAsync(String, QueryType, QueryClass, CancellationToken)
    IDnsQuery.QueryAsync(DnsQuestion, CancellationToken)
    IDnsQuery.QueryAsync(DnsQuestion, DnsQueryAndServerOptions, CancellationToken)
    IDnsQuery.QueryReverse(IPAddress)
    IDnsQuery.QueryReverse(IPAddress, DnsQueryAndServerOptions)
    IDnsQuery.QueryReverseAsync(IPAddress, CancellationToken)
    IDnsQuery.QueryReverseAsync(IPAddress, DnsQueryAndServerOptions, CancellationToken)
    IDnsQuery.QueryServer(IReadOnlyCollection<NameServer>, String, QueryType, QueryClass)
    IDnsQuery.QueryServer(IReadOnlyCollection<NameServer>, DnsQuestion)
    IDnsQuery.QueryServer(IReadOnlyCollection<NameServer>, DnsQuestion, DnsQueryOptions)
    IDnsQuery.QueryServer(IReadOnlyCollection<IPEndPoint>, String, QueryType, QueryClass)
    IDnsQuery.QueryServer(IReadOnlyCollection<IPAddress>, String, QueryType, QueryClass)
    IDnsQuery.QueryServerAsync(IReadOnlyCollection<NameServer>, String, QueryType, QueryClass, CancellationToken)
    IDnsQuery.QueryServerAsync(IReadOnlyCollection<NameServer>, DnsQuestion, CancellationToken)
    IDnsQuery.QueryServerAsync(IReadOnlyCollection<NameServer>, DnsQuestion, DnsQueryOptions, CancellationToken)
    IDnsQuery.QueryServerAsync(IReadOnlyCollection<IPAddress>, String, QueryType, QueryClass, CancellationToken)
    IDnsQuery.QueryServerAsync(IReadOnlyCollection<IPEndPoint>, String, QueryType, QueryClass, CancellationToken)
    IDnsQuery.QueryServerReverse(IReadOnlyCollection<IPAddress>, IPAddress)
    IDnsQuery.QueryServerReverse(IReadOnlyCollection<IPEndPoint>, IPAddress)
    IDnsQuery.QueryServerReverse(IReadOnlyCollection<NameServer>, IPAddress)
    IDnsQuery.QueryServerReverse(IReadOnlyCollection<NameServer>, IPAddress, DnsQueryOptions)
    IDnsQuery.QueryServerReverseAsync(IReadOnlyCollection<IPAddress>, IPAddress, CancellationToken)
    IDnsQuery.QueryServerReverseAsync(IReadOnlyCollection<IPEndPoint>, IPAddress, CancellationToken)
    IDnsQuery.QueryServerReverseAsync(IReadOnlyCollection<NameServer>, IPAddress, CancellationToken)
    IDnsQuery.QueryServerReverseAsync(IReadOnlyCollection<NameServer>, IPAddress, DnsQueryOptions, CancellationToken)
    Namespace: DnsClient
    Assembly: DnsClient.dll
    Syntax
    public interface ILookupClient : IDnsQuery

    Properties

    | Improve this Doc View Source

    ContinueOnDnsError

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    bool ContinueOnDnsError { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    EnableAuditTrail

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    bool EnableAuditTrail { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    MinimumCacheTimeout

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    TimeSpan? MinimumCacheTimeout { get; set; }
    Property Value
    Type Description
    Nullable<TimeSpan>
    | Improve this Doc View Source

    NameServers

    Gets the list of configured or resolved name servers of the ILookupClient instance.

    Declaration
    IReadOnlyCollection<NameServer> NameServers { get; }
    Property Value
    Type Description
    IReadOnlyCollection<NameServer>
    | Improve this Doc View Source

    Recursion

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    bool Recursion { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Retries

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    int Retries { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Settings

    Gets the configured settings of the ILookupClient instance.

    Declaration
    LookupClientSettings Settings { get; }
    Property Value
    Type Description
    LookupClientSettings
    | Improve this Doc View Source

    ThrowDnsErrors

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    bool ThrowDnsErrors { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Timeout

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    TimeSpan Timeout { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Improve this Doc View Source

    UseCache

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    bool UseCache { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    UseRandomNameServer

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    bool UseRandomNameServer { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    UseTcpFallback

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    bool UseTcpFallback { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    UseTcpOnly

    Declaration
    [Obsolete("This property will be removed from LookupClient in the next version. Use LookupClientOptions to initialize LookupClient instead.")]
    bool UseTcpOnly { get; set; }
    Property Value
    Type Description
    Boolean

    Extension Methods

    DnsQueryExtensions.GetHostEntry(IDnsQuery, String)
    DnsQueryExtensions.GetHostEntryAsync(IDnsQuery, String)
    DnsQueryExtensions.GetHostEntry(IDnsQuery, IPAddress)
    DnsQueryExtensions.GetHostEntryAsync(IDnsQuery, IPAddress)
    DnsQueryExtensions.GetHostName(IDnsQuery, IPAddress)
    DnsQueryExtensions.GetHostNameAsync(IDnsQuery, IPAddress)
    DnsQueryExtensions.ResolveService(IDnsQuery, String, String, ProtocolType)
    DnsQueryExtensions.ResolveServiceAsync(IDnsQuery, String, String, ProtocolType)
    DnsQueryExtensions.ResolveService(IDnsQuery, String, String, String)
    DnsQueryExtensions.ResolveServiceAsync(IDnsQuery, String, String, String)
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net