Builder

class Builder

Properties

Link copied to clipboard

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list:

Link copied to clipboard

The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

Link copied to clipboard

The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

Link copied to clipboard

The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

Link copied to clipboard

The way that you want DNS Firewall to block the request, used with the rule action setting BLOCK.

Link copied to clipboard

A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

Link copied to clipboard

The ID of the domain list that you want to use in the rule.

Link copied to clipboard

The unique identifier of the firewall rule group where you want to create the rule.

Link copied to clipboard
var name: String?

A name that lets you identify the rule in the rule group.

Link copied to clipboard

The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.

Link copied to clipboard

The DNS query type you want the rule to evaluate. Allowed values are;