DnsFilterAction Enum
Specifies the action determined by DNS filter evaluation.
public enum DnsFilterActionFields
| Name | Value | Description |
|---|---|---|
None | 0 | No rule matched the query. This is the default value, so an unmatched result never appears to request blocking. |
Block | 1 | The rule blocks the matching DNS query. |
Allow | 2 | The rule explicitly allows the matching DNS query (exception/allowlist rule). |
Rewrite | 3 | The matching rule replaces the DNS response instead of simply refusing it. The directive is available on DnsFilterResult.Rewrite. |