---
title: "GET /firewall-rules/{firewallRuleId}"
method: GET
path: "/firewall-rules/{firewallRuleId}"
---

# GET /firewall-rules/{firewallRuleId}

`GET /firewall-rules/{firewallRuleId}`

Retrieves information about a DNS firewall rule.

Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify `--region us-east-2` on Amazon Web Services CLI commands.

## Path parameters

- `firewallRuleId` string, required

## Response `200`

Success

- GetFirewallRuleOutput
  - `action` 'ALLOW' | 'ALERT' | 'BLOCK', required — The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.
  - `blockOverrideDnsType` 'CNAME' — The DNS record's type. This determines the format of the record value that you provided in <code>BlockOverrideDomain</code>. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.
  - `blockOverrideDomain` string — The custom DNS record to send back in response to the query. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.
  - `blockOverrideTtl` integer — 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 <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.
  - `blockResponse` 'NODATA' | 'NXDOMAIN' | 'OVERRIDE' — The way that you want DNS Firewall to block the request. Used for the rule action setting <code>BLOCK</code>.
  - `confidenceThreshold` 'LOW' | 'MEDIUM' | 'HIGH' — The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.
  - `createdAt` string, date-time, required — The time and date the DNS Firewall rule was created.
  - `description` string — The description of the DNS Firewall rule.
  - `dnsAdvancedProtection` 'DGA' | 'DNS_TUNNELING' | 'DICTIONARY_DGA' — The type of the DNS Firewall Advanced rule. Valid values are DGA, DNS_TUNNELING, and DICTIONARY_DGA.
  - `firewallDomainListId` string — The ID of a DNS Firewall domain list.
  - `id` string, required — ID of the DNS Firewall rule.
  - `name` string, required — The name of the DNS Firewall rule.
  - `priority` integer, required — 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.
  - `dnsViewId` string, required — The DNS view ID the DNS Firewall is associated with.
  - `queryType` string — The DNS query type you want the rule to evaluate.
  - `status` 'CREATING' | 'OPERATIONAL' | 'UPDATING' | 'DELETING', required — The operational status of the DNS Firewall rule.
  - `updatedAt` string, date-time, required — The date and time the DNS Firewall rule was updated.

## Other responses

- `480` — InternalServerException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ThrottlingException
- `484` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/route53globalresolver.md) · [All operations](https://skmtc.net/aws/apis/route53globalresolver/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/route53globalresolver/versions/5ebf158d0c4b/schema)
