DnsResolverOptions Class

Definition

Provides configuration options for DNS resolution, including server endpoints, retry attempts, and timeout settings.

public ref class DnsResolverOptions
public class DnsResolverOptions
type DnsResolverOptions = class
Public Class DnsResolverOptions
Inheritance
DnsResolverOptions

Constructors

Name Description
DnsResolverOptions()

Properties

Name Description
MaxAttempts

Gets or sets the maximum number of attempts per server.

Servers

Gets or sets the collection of server endpoints used for network connections.

Timeout

Gets or sets the maximum duration per attempt to wait before timing out.

Applies to