CmdID / aws / aws route53
aws route53 list-hosted-zones-by-name
Retrieves a list of your hosted zones in lexicographic order. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--dns-name(Optional) For your first request to ListHostedZonesByName, include the dnsname parameter only if you want to specify the name of the first hosted zone in the response.--hosted-zone-id(Optional) For your first request to ListHostedZonesByName, do not include the hostedzoneid parameter.--max-itemsThe maximum number of hosted zones to be included in the response body for this request.