Domain Detective

API Reference

Class

DnsResolverEndpoint

Namespace DnsClientX
Assembly DnsClientX
Modifiers sealed

Describes a DNS resolver endpoint and its behavior.

Inheritance

  • Object
  • DnsResolverEndpoint

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Methods

public override String ToString() #
Returns: String

Returns a human-readable endpoint string.

Properties

public String Host { get; set; } #

Hostname or IP address for UDP/TCP/DoT. For DoH, the host part of DohUrl.

public Int32 Port { get; set; } #

Port number. Defaults to 53 for UDP/TCP, 853 for DoT, and 443 for DoH when not specified.

public Nullable<AddressFamily> Family { get; set; } #

Optional preferred address family when resolving hostnames.

public Transport Transport { get; set; } #

Transport protocol used to query this endpoint.

public Nullable<TimeSpan> Timeout { get; set; } #

Optional per-endpoint timeout. When null, a library default is used.

public Boolean AllowTcpFallback { get; set; } #

Allow automatic TCP fallback when UDP responses are truncated.

public Nullable<Int32> EdnsBufferSize { get; set; } #

Optional EDNS buffer size for UDP queries.

public Nullable<Boolean> DnsSecOk { get; set; } #

Sets the DO bit (DNSSEC OK) in queries to request DNSSEC records.

public Uri DohUrl { get; set; } #

For DoH transports, the full resolver URL (e.g. https://dns.google/dns-query).

public Nullable<DnsRequestFormat> RequestFormat { get; set; } #

Optional request format override for this endpoint. When omitted, the format is inferred from Transport.

{{ include "footer" }}