View a markdown version of this page

FirewallRuleDomain - Amazon Route 53

FirewallRuleDomain

A domain that DNS Firewall observed for an AutoAllowlist rule, with its review status and request volume. Counts are aggregated across all VPCs that use the rule group, through a rule group association or through a Route 53 Profile that includes the rule group, including VPCs in other accounts. The domain isn't attributed to the VPC or account in which it was observed.

Contents

AddedTime

The date and time when the domain was first observed and added, in RFC 3339 format.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 40.

Required: No

DomainName

The domain name.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: No

DomainStatus

The review status of the domain:

  • OBSERVED - DNS Firewall saw the domain in the VPCs' DNS traffic and listed it for your review. The look-back window seeds the initial observed domains. After that, a domain becomes observed when any DNS Firewall rule blocks a query for it from a VPC that uses the rule group, including rules in other rule groups, or when you remove it from the managed domain list with REMOVE. An observed domain can already be on the managed domain list, for example when a rule that is evaluated before the AutoAllowlist rule blocks it. An ADD request fails as a whole if any of its domains is already on the list, so check the list first by calling ListFirewallRuleDomains with FirewallDomainListId. The managed domain list returns each domain name with a trailing period (for example, example.com.), and the observed, allowed, and denied domains are returned without one (example.com), so remove the trailing period before you compare them. DNS Firewall keeps up to 10,000 domains in each status for a rule. While a status is full, a newly blocked domain might not be listed. Allowing or denying observed domains makes room, and so do observed domains that stop being queried. To find blocked domains that aren't listed, check your Resolver query logs. For more information, see Considerations for Automated Allowlists in the Amazon Route 53 Developer Guide. To keep observing new domains, place a rule that blocks the domains you haven't approved after the AutoAllowlist rule. Domains from the look-back period that keep being queried and aren't blocked move to ALLOWED about a day after DNS Firewall reads them from the look-back window. Observed domains can include domains that a threat protection rule blocked, and the response doesn't say which rule blocked a domain, so review them before you allow them. Place rules that block known threats before the AutoAllowlist rule in each VPC's rule evaluation order, so that an allowed domain can't bypass them.

  • ALLOWED - DNS Firewall allowed queries for the domain, whether or not the domain is in the rule's managed domain list. A domain that you approve with the ADD operation of UpdateFirewallDomains is also listed as allowed. To get the domains in the managed domain list (the allowlist that the rule enforces), call ListFirewallRuleDomains with FirewallDomainListId. Names in the managed domain list end with a trailing period, and names returned for a status don't.

  • DENIED - The domain was denied with the DENY operation of UpdateFirewallDomains, which also removes it from the managed domain list if it was there. A denied domain that is still queried and not blocked can move to ALLOWED.

Type: String

Valid Values: OBSERVED | ALLOWED | DENIED | UNKNOWN

Required: No

Last24HourRequests

The number of DNS requests observed for this domain in the last 24 hours.

Type: Long

Required: No

TotalRequests

The total number of DNS requests observed for this domain since it was first added, including the requests in the look-back window that seeded the rule.

Type: Long

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: