CmdID / aws / aws route53resolver
aws route53resolver list-firewall-domains
Retrieves the domains that you have defined for the specified firewall domain list. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list domains in a domain list
The following list-firewall-domains example lists the domains in a DNS Firewall domain list that you specify.
aws route53resolver list-firewall-domains --firewall-domain-list-id rslvr-fdl-d61cbb2cbexampleIdentify--firewall-domain-list-idThe ID of the domain list whose domains you want to retrieve.Its output
{
"Domains": [
"test1.com.",
"test2.com.",
"test3.com."
]
}For more information, see Managing your own domain lists in the Amazon Route 53 Developer Guide.
Options
--firewall-domain-list-idThe ID of the domain list whose domains you want to retrieve.--max-resultsThe maximum number of objects that you want Resolver to return for this request.--next-tokenFor the first call to this list request, omit this value.