ListHostedZonesByName
In this article:
ListHostedZonesByName#
Description#
Request to get a sorted list of DNS zones.
The list is sorted by zone names, where the name components are specified in reverse order, for example, com.example.
Request Parameters#
DNSName — The name of the first DNS zone in the response. If the parameter is specified, the DNS zones are returned starting from the specified one. If the parameter is not specified, all DNS zones are returned.
Type: String
Required: No
Response Elements#
HostedZones — The DNS zone list.
Type: List of HostedZone objects
Examples#
c2-route53 ListHostedZonesByName DNSName "example.com"