• 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

    Class LookupClientSettings

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

    Inheritance
    Object
    DnsQuerySettings
    DnsQueryAndServerSettings
    LookupClientSettings
    Implements
    IEquatable<DnsQuerySettings>
    IEquatable<DnsQueryAndServerSettings>
    IEquatable<LookupClientSettings>
    Inherited Members
    DnsQueryAndServerSettings.NameServers
    DnsQueryAndServerSettings.Equals(DnsQueryAndServerSettings)
    DnsQuerySettings.EnableAuditTrail
    DnsQuerySettings.UseCache
    DnsQuerySettings.Recursion
    DnsQuerySettings.Retries
    DnsQuerySettings.ThrowDnsErrors
    DnsQuerySettings.UseRandomNameServer
    DnsQuerySettings.ContinueOnDnsError
    DnsQuerySettings.ContinueOnEmptyResponse
    DnsQuerySettings.Timeout
    DnsQuerySettings.UseTcpFallback
    DnsQuerySettings.UseTcpOnly
    DnsQuerySettings.UseExtendedDns
    DnsQuerySettings.ExtendedDnsBufferSize
    DnsQuerySettings.RequestDnsSecRecords
    DnsQuerySettings.Equals(DnsQuerySettings)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: DnsClient
    Assembly: DnsClient.dll
    Syntax
    public class LookupClientSettings : DnsQueryAndServerSettings, IEquatable<DnsQuerySettings>, IEquatable<DnsQueryAndServerSettings>, IEquatable<LookupClientSettings>

    Constructors

    | Improve this Doc View Source

    LookupClientSettings(LookupClientOptions)

    Creates a new instance of LookupClientSettings.

    Declaration
    public LookupClientSettings(LookupClientOptions options)
    Parameters
    Type Name Description
    LookupClientOptions options

    Properties

    | Improve this Doc View Source

    MaximumCacheTimeout

    Gets a TimeSpan which can override the TTL of a resource record in case the TTL of the record is higher than this maximum value. Default is Null.

    Declaration
    public TimeSpan? MaximumCacheTimeout { get; }
    Property Value
    Type Description
    Nullable<TimeSpan>
    Remarks

    This setting gets igonred in case UseCache is set to False. The maximum value is 24 days. Setting it to Infinite would be equal to not providing a value.

    | Improve this Doc View Source

    MinimumCacheTimeout

    Gets a TimeSpan which can override the TTL of a resource record in case the TTL of the record is lower than this minimum value. Default is Null.

    This is useful in cases where the server retruns records with zero TTL.

    Declaration
    public TimeSpan? MinimumCacheTimeout { get; }
    Property Value
    Type Description
    Nullable<TimeSpan>
    Remarks

    This setting gets igonred in case UseCache is set to False. The maximum value is 24 days or Infinite.

    Methods

    | Improve this Doc View Source

    Equals(LookupClientSettings)

    Declaration
    public bool Equals(LookupClientSettings other)
    Parameters
    Type Name Description
    LookupClientSettings other
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    DnsQueryAndServerSettings.Equals(Object)

    Implements

    IEquatable<T>
    IEquatable<T>
    IEquatable<T>
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net