Domain Detective

API Reference

Enum

DnsEndpoint

Namespace DnsClientX
Assembly DnsClientX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Enumerates known DNS endpoints including DNS-over-HTTPS and DNSCrypt providers as well as system resolvers. DNS-over-HTTPS is defined in RFC 8484.

Inheritance

  • Enum
  • DnsEndpoint

Remarks

The values correlate with predefined settings that can be selected via ClientXBuilder when instantiating ClientX.

Usage

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

Accepted by parameters

Values

public const DnsEndpoint System #
Description("Use the system's default DNS resolver using UDP. When UDP reaches the maximum packet size, it will automatically switch to TCP.")

Use the system's default DNS resolver using UDP. When using this option, the system's default DNS resolver will be used. When UDP reaches the maximum packet size, it will automatically switch to TCP.

Value: 0
public const DnsEndpoint SystemTcp #
Description("Use the system's default DNS resolver using TCP.")

Use the system's default DNS resolver using TCP. When using this option, the system's default DNS resolver will be used.

Value: 1
public const DnsEndpoint Cloudflare #
Description("Cloudflare DNS-over-HTTPS endpoint.")

Cloudflare DNS-over-HTTPS endpoint.

Value: 2
public const DnsEndpoint CloudflareSecurity #
Description("Cloudflare's security-focused DNS-over-HTTPS endpoint.")

Cloudflare's security-focused DNS-over-HTTPS endpoint.

Value: 3
public const DnsEndpoint CloudflareFamily #
Description("Cloudflare's family-friendly DNS-over-HTTPS endpoint.")

Cloudflare's family-friendly DNS-over-HTTPS endpoint.

Value: 4
public const DnsEndpoint CloudflareWireFormat #
Description("Cloudflare's DNS-over-HTTPS endpoint using wire format.")

Cloudflare's DNS-over-HTTPS endpoint using wire format.

Value: 5
public const DnsEndpoint CloudflareWireFormatPost #
Description("Cloudflare's DNS-over-HTTPS endpoint using wire format with POST method.")

Cloudflare's DNS-over-HTTPS endpoint using wire format with POST method.

Value: 6
public const DnsEndpoint CloudflareJsonPost #
Description("Cloudflare's DNS-over-HTTPS endpoint using JSON over POST method.")

Cloudflare's DNS-over-HTTPS endpoint using JSON over POST method.

Value: 7
public const DnsEndpoint Google #
Description("Google's DNS-over-HTTPS endpoint.")

Google's DNS-over-HTTPS endpoint.

Value: 8
public const DnsEndpoint GoogleWireFormat #
Description("Google's DNS-over-HTTPS endpoint using wire format over GET method.")

Google's DNS-over-HTTPS endpoint using wire format over GET method.

Value: 9
public const DnsEndpoint GoogleWireFormatPost #
Description("Google's DNS-over-HTTPS endpoint using wire format over POST method.")

Google's DNS-over-HTTPS endpoint using wire format over POST method.

Value: 10
public const DnsEndpoint GoogleJsonPost #
Description("Google's DNS-over-HTTPS endpoint using JSON over POST method.")

Google's DNS-over-HTTPS endpoint using JSON over POST method.

Value: 11
public const DnsEndpoint Quad9 #
Description("Quad9's DNS-over-HTTPS endpoint.")

Quad9's DNS-over-HTTPS endpoint.

Value: 12
public const DnsEndpoint Quad9ECS #
Description("Quad9's DNS-over-HTTPS endpoint with ECS support.")

Quad9's DNS-over-HTTPS endpoint with ECS support.

Value: 13
public const DnsEndpoint Quad9Unsecure #
Description("Quad9's unsecured DNS-over-HTTPS endpoint.")

Quad9's unsecured DNS-over-HTTPS endpoint.

Value: 14
public const DnsEndpoint OpenDNS #
Description("OpenDNS's DNS-over-HTTPS endpoint.")

OpenDNS's DNS-over-HTTPS endpoint.

Value: 15
public const DnsEndpoint OpenDNSFamily #
Description("OpenDNS's family-friendly DNS-over-HTTPS endpoint.")

OpenDNS's family-friendly DNS-over-HTTPS endpoint.

Value: 16
public const DnsEndpoint CloudflareQuic #
Description("Cloudflare's DNS-over-QUIC endpoint.")

Cloudflare's DNS-over-QUIC endpoint.

Value: 17
public const DnsEndpoint GoogleQuic #
Description("Google's DNS-over-QUIC endpoint.")

Google's DNS-over-QUIC endpoint.

Value: 18
public const DnsEndpoint AdGuard #
Description("AdGuard DNS-over-HTTPS endpoint.")

AdGuard DNS-over-HTTPS endpoint.

Value: 19
public const DnsEndpoint AdGuardFamily #
Description("AdGuard family protection DNS-over-HTTPS endpoint.")

AdGuard family protection DNS-over-HTTPS endpoint.

Value: 20
public const DnsEndpoint AdGuardNonFiltering #
Description("AdGuard non-filtering DNS-over-HTTPS endpoint.")

AdGuard non-filtering DNS-over-HTTPS endpoint.

Value: 21
public const DnsEndpoint NextDNS #
Description("NextDNS DNS-over-HTTPS endpoint.")

NextDNS DNS-over-HTTPS endpoint.

Value: 22
public const DnsEndpoint DnsCryptCloudflare #
Description("Cloudflare DNSCrypt endpoint.")

Cloudflare DNSCrypt endpoint.

Value: 23
public const DnsEndpoint DnsCryptQuad9 #
Description("Quad9 DNSCrypt endpoint.")

Quad9 DNSCrypt endpoint.

Value: 24
public const DnsEndpoint DnsCryptRelay #
Description("DNSCrypt relay server option.")

DNSCrypt relay server option.

Value: 25
public const DnsEndpoint RootServer #
Description("DNS root servers, queried iteratively starting from one of the well known A-M root server instances.")

DNS root servers, queried iteratively starting from one of the well known A-M root server instances.

Value: 26
public const DnsEndpoint CloudflareOdoh #
Description("Cloudflare's Oblivious DNS-over-HTTPS endpoint.")

Cloudflare's Oblivious DNS-over-HTTPS endpoint.

Value: 27
public const DnsEndpoint Custom #
Description("Custom DNS endpoint configured via overrides.")

Custom DNS endpoint configured via Configuration overrides.

Value: 28

Extension Methods

public static String GetDescription(DnsEndpoint endpoint) #
Returns: String

Gets the description associated with the specified DnsEndpoint.

Parameters

endpoint DnsClientX.DnsEndpoint requiredposition: 0
Endpoint value.

Returns

Description text if available; otherwise the enum name.

{{ include "footer" }}