DnsFilterAction Enum

Specifies the action determined by DNS filter evaluation.

public enum DnsFilterAction

Fields

NameValueDescription
None0No rule matched the query. This is the default value, so an unmatched result never appears to request blocking.
Block1The rule blocks the matching DNS query.
Allow2The rule explicitly allows the matching DNS query (exception/allowlist rule).
Rewrite3The matching rule replaces the DNS response instead of simply refusing it. The directive is available on DnsFilterResult.Rewrite.