API Reference
MultiResolverOptions
Options controlling behavior of DnsMultiResolver.
Inheritance
- Object
- MultiResolverOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Constructor DnsMultiResolver.DnsMultiResolver
Constructors
public MultiResolverOptions() #Inherited Methods
Properties
public MultiResolverStrategy Strategy { get; set; } #Strategy used when multiple endpoints are configured.
public Int32 MaxParallelism { get; set; } #Upper bound on the number of endpoints queried concurrently. Applies to FirstSuccess and FastestWins warm-up.
public Boolean PreferIpv6 { get; set; } #Prefer IPv6 when resolving hostnames (when applicable).
public Boolean RespectEndpointTimeout { get; set; } #Respect per-endpoint timeout value if specified; otherwise use DefaultTimeout.
public Nullable<TimeSpan> DefaultTimeout { get; set; } #Fallback per-query timeout used when an endpoint doesn't provide one. When null, uses DefaultTimeout.
public TimeSpan FastestCacheDuration { get; set; } #Cache duration for FastestWins fastest-endpoint selection.
public Boolean EnableFastestCache { get; set; } #Enables or disables the FastestWins cache.
public Nullable<Int32> PerEndpointMaxInFlight { get; set; } #Optional cap on concurrent queries per endpoint. When set to a positive value, the resolver limits the number of in-flight queries against any single endpoint to this value. When null or less than or equal to zero, no per-endpoint cap is applied.
public Boolean EnableResponseCache { get; set; } #Enables response caching based on record TTLs. When enabled, the resolver leverages the library's built-in cache to avoid repeated lookups for the same (name,type) across instances.
public Boolean RequestDnsSec { get; set; } #Requests DNSSEC data from the resolver.
public Boolean ValidateDnsSec { get; set; } #Validates DNSSEC data for each query.
public Boolean TypedRecords { get; set; } #Requests typed record output for successful responses.
public Boolean ParseTypedTxtRecords { get; set; } #Parses TXT answers into specialized record types when TypedRecords is enabled.
public Boolean CheckingDisabled { get; set; } #Sets the CD bit on outgoing queries.
public EdnsOptions EdnsOptions { get; set; } #Optional EDNS configuration applied to each endpoint query.
public String UserAgent { get; set; } #Optional User-Agent header for HTTP-based transports.
public Version HttpVersion { get; set; } #Optional HTTP version preference for HTTP-based transports.
public Boolean IgnoreCertificateErrors { get; set; } #Allows ignoring TLS certificate validation errors.
public Boolean UseTcpFallback { get; set; } #Controls whether UDP transports may fall back to TCP when truncated.
public IWebProxy WebProxy { get; set; } #Optional web proxy for HTTP-based transports.
public Int32 MaxConnectionsPerServer { get; set; } #Maximum HTTP connections allowed per server.
public Nullable<Int32> MaxConcurrency { get; set; } #Optional cap on client-side query concurrency for individual resolver instances.
public Nullable<TimeSpan> CacheExpiration { get; set; } #Default cache expiration used when TTL is unavailable. When null, uses the library default.
public Nullable<TimeSpan> MinCacheTtl { get; set; } #Minimal TTL allowed for cached entries. Entries with smaller TTLs are rounded up to this value.
public Nullable<TimeSpan> MaxCacheTtl { get; set; } #Maximal TTL allowed for cached entries. Entries with larger TTLs are clipped to this value.