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 for the rule action setting BLOCK.

Link copied to clipboard

The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC).

Link copied to clipboard

A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of executing the operation twice. This can be any unique string, for example, a timestamp.

Link copied to clipboard

The ID of the domain list that's used in the rule.

Link copied to clipboard

The unique identifier of the firewall rule group of the rule.

Link copied to clipboard

The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time (UTC).

Link copied to clipboard
var name: String?

The name of the rule.

Link copied to clipboard

The priority of the rule in the rule group. This value must be unique within 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;