API Reference
DnsEndpoint
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.
Returned or exposed by
- Field DnsEndpoint.AdGuard
- Field DnsEndpoint.AdGuardFamily
- Field DnsEndpoint.AdGuardNonFiltering
- Field DnsEndpoint.Cloudflare
- Field DnsEndpoint.CloudflareFamily
- Field DnsEndpoint.CloudflareJsonPost
- Field DnsEndpoint.CloudflareOdoh
- Field DnsEndpoint.CloudflareQuic
- Field DnsEndpoint.CloudflareSecurity
- Field DnsEndpoint.CloudflareWireFormat
- Field DnsEndpoint.CloudflareWireFormatPost
- Field DnsEndpoint.Custom
- Field DnsEndpoint.DnsCryptCloudflare
- Field DnsEndpoint.DnsCryptQuad9
- Field DnsEndpoint.DnsCryptRelay
- Field DnsEndpoint.Google
- Field DnsEndpoint.GoogleJsonPost
- Field DnsEndpoint.GoogleQuic
- Field DnsEndpoint.GoogleWireFormat
- Field DnsEndpoint.GoogleWireFormatPost
- Field DnsEndpoint.NextDNS
- Field DnsEndpoint.OpenDNS
- Field DnsEndpoint.OpenDNSFamily
- Field DnsEndpoint.Quad9
- Field DnsEndpoint.Quad9ECS
- Field DnsEndpoint.Quad9Unsecure
- Field DnsEndpoint.RootServer
- Field DnsEndpoint.System
- Field DnsEndpoint.SystemTcp
- Method DnsEndpointExtensions.GetAllWithDescriptions
- Property DnsQueryOptions.DnsEndpoint
- Property ResolveDnsRequest.DnsProviders
- Property ResolveDnsRequest.ResolverDnsProviders
Accepted by parameters
- Constructor ClientX.ClientX
- Method ClientX.QueryDns
- Method ClientX.QueryDns
- Method ClientX.QueryDns
- Method ClientX.QueryDnsSync
- Method ClientX.QueryDnsSync
- Method ClientX.QueryDnsSync
- Method ClientXBuilder.WithEndpoint
- Constructor Configuration.Configuration
- Extension method DnsEndpoint.GetDescription
- Method DnsEndpointExtensions.GetDescription
- Method DnsResolverEndpointFactory.From
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Int32Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #StringObsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
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.
0public 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.
1public const DnsEndpoint Cloudflare #Description("Cloudflare DNS-over-HTTPS endpoint.")Cloudflare DNS-over-HTTPS endpoint.
2public const DnsEndpoint CloudflareSecurity #Description("Cloudflare's security-focused DNS-over-HTTPS endpoint.")Cloudflare's security-focused DNS-over-HTTPS endpoint.
3public const DnsEndpoint CloudflareFamily #Description("Cloudflare's family-friendly DNS-over-HTTPS endpoint.")Cloudflare's family-friendly DNS-over-HTTPS endpoint.
4public const DnsEndpoint CloudflareWireFormat #Description("Cloudflare's DNS-over-HTTPS endpoint using wire format.")Cloudflare's DNS-over-HTTPS endpoint using wire format.
5public 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.
6public 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.
7public const DnsEndpoint Google #Description("Google's DNS-over-HTTPS endpoint.")Google's DNS-over-HTTPS endpoint.
8public 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.
9public 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.
10public 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.
11public const DnsEndpoint Quad9 #Description("Quad9's DNS-over-HTTPS endpoint.")Quad9's DNS-over-HTTPS endpoint.
12public const DnsEndpoint Quad9ECS #Description("Quad9's DNS-over-HTTPS endpoint with ECS support.")Quad9's DNS-over-HTTPS endpoint with ECS support.
13public const DnsEndpoint Quad9Unsecure #Description("Quad9's unsecured DNS-over-HTTPS endpoint.")Quad9's unsecured DNS-over-HTTPS endpoint.
14public const DnsEndpoint OpenDNS #Description("OpenDNS's DNS-over-HTTPS endpoint.")OpenDNS's DNS-over-HTTPS endpoint.
15public const DnsEndpoint OpenDNSFamily #Description("OpenDNS's family-friendly DNS-over-HTTPS endpoint.")OpenDNS's family-friendly DNS-over-HTTPS endpoint.
16public const DnsEndpoint CloudflareQuic #Description("Cloudflare's DNS-over-QUIC endpoint.")Cloudflare's DNS-over-QUIC endpoint.
17public const DnsEndpoint GoogleQuic #Description("Google's DNS-over-QUIC endpoint.")Google's DNS-over-QUIC endpoint.
18public const DnsEndpoint AdGuard #Description("AdGuard DNS-over-HTTPS endpoint.")AdGuard DNS-over-HTTPS endpoint.
19public const DnsEndpoint AdGuardFamily #Description("AdGuard family protection DNS-over-HTTPS endpoint.")AdGuard family protection DNS-over-HTTPS endpoint.
20public const DnsEndpoint AdGuardNonFiltering #Description("AdGuard non-filtering DNS-over-HTTPS endpoint.")AdGuard non-filtering DNS-over-HTTPS endpoint.
21public const DnsEndpoint NextDNS #Description("NextDNS DNS-over-HTTPS endpoint.")NextDNS DNS-over-HTTPS endpoint.
22public const DnsEndpoint DnsCryptCloudflare #Description("Cloudflare DNSCrypt endpoint.")Cloudflare DNSCrypt endpoint.
23public const DnsEndpoint DnsCryptQuad9 #Description("Quad9 DNSCrypt endpoint.")Quad9 DNSCrypt endpoint.
24public const DnsEndpoint DnsCryptRelay #Description("DNSCrypt relay server option.")DNSCrypt relay server option.
25public 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.
26public const DnsEndpoint CloudflareOdoh #Description("Cloudflare's Oblivious DNS-over-HTTPS endpoint.")Cloudflare's Oblivious DNS-over-HTTPS endpoint.
27public const DnsEndpoint Custom #Description("Custom DNS endpoint configured via overrides.")Custom DNS endpoint configured via Configuration overrides.
28Extension Methods
public static String GetDescription(DnsEndpoint endpoint) #StringGets the description associated with the specified DnsEndpoint.
Parameters
- endpoint DnsClientX.DnsEndpoint
- Endpoint value.
Returns
Description text if available; otherwise the enum name.