Table of Contents

Class UseDnsOverHttpsAction

Namespace
Fluxzy.Rules.Actions
Assembly
Fluxzy.Core.dll

Use DoH (DNS over HTTPS) to resolve domain names instead of the default DNS provided by the OS.

[ActionMetadata("Use DoH (DNS over HTTPS) to resolve domain names instead of the default DNS provided by the OS")]
public class UseDnsOverHttpsAction : Action
Inheritance
UseDnsOverHttpsAction
Inherited Members

Constructors

UseDnsOverHttpsAction(string?)

public UseDnsOverHttpsAction(string? nameOrUrl)

Parameters

nameOrUrl string

Properties

ActionScope

public override FilterScope ActionScope { get; }

Property Value

FilterScope

DefaultDescription

public override string DefaultDescription { get; }

Property Value

string

NameOrUrl

Name or full Url of the DNS server to use. Built-in values are: Google, Cloudflare.

public string? NameOrUrl { get; set; }

Property Value

string

NoCapture

If false, the DNS over HTTPS requests will pass through the proxy.

public bool NoCapture { get; set; }

Property Value

bool

Methods

GetExamples()

public override IEnumerable<ActionExample> GetExamples()

Returns

IEnumerable<ActionExample>

Init(StartupContext)

Called once by the engine to initialize this directive

public override void Init(StartupContext startupContext)

Parameters

startupContext StartupContext

InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)

public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)

Parameters

context ExchangeContext
exchange Exchange
connection Connection
scope FilterScope
breakPointManager BreakPointManager

Returns

ValueTask