Use DoH (DNS over HTTPS) to resolve domain names instead of the default DNS provided by the OS
Evaluation scope defines the timing where this filter will be applied.
requestHeaderReceivedFromClient This scope occurs the moment fluxzy parsed the request header receiveid from client
useDnsOverHttpsAction
The following table describes the customizable properties available for this action:
Property | Type | Description | DefaultValue |
---|---|---|---|
nameOrUrl | string | ||
noCapture | boolean | false |
The following examples apply this action to any exchanges
Use Cloudflare built-in DoH server.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: UseDnsOverHttpsAction
nameOrUrl: CLOUDFLARE
Use provided DoH server: "https://dns.google/resolve". Avoid capturing the DNS requests.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: UseDnsOverHttpsAction
nameOrUrl: https://dns.google/resolve
noCapture: true
View definition of UseDnsOverHttpsAction for .NET integration.
The following actions are related to this action: