AWS Route 53 API List Hosted Zones By Name

AWS Route 53 - List Hosted Zones By Name

Retrieves a list of your hosted zones in lexicographic order. Send a GETrequest to the /2013-04-01/hostedzonesbyname resource. The response includes aHostedZones child element for each hosted zone created by the current AWSaccount. ListHostedZonesByName sorts hosted zones by name with the labels reversed.For example: com.example.www. Note the trailing dot, which can change the sort order in some circumstances.If the domain name includes escape characters or Punycode,ListHostedZonesByName alphabetizes the domain name using the escaped orPunycoded value, which is the format that Amazon Route 53 saves in its database. For example, to createa hosted zone for, specify ex\ for the domain name.ListHostedZonesByName alphabetizes it as: com.ex\344mple. The labels are reversed and alphabetized using the escaped value. For more informationabout valid domain name formats, including internationalized domain names, see DNS Domain Name Format in theAmazon Route 53 Developer Guide.Amazon Route 53 returns up to 100 items in each response. If you have a lot of hosted zones, usethe MaxItems parameter to list them in groups of up to 100. The response includesvalues that help navigate from one group of MaxItems hosted zones to thenext:The DNSName and HostedZoneId elements in the responsecontain the values, if any, specified for the dnsname andhostedzoneid parameters in the request that produced the currentresponse.The MaxItems element in the response contains the value, if any, thatyou specified for the maxitems parameter in the request that produced thecurrent response.If the value of IsTruncated in the response is true, there are morehosted zones associated with the current AWS account. If IsTruncated is false, this response includes the last hosted zonethat is associated with the current account. The NextDNSName element andNextHostedZoneId elements are omitted from the response.The NextDNSName and NextHostedZoneId elements in theresponse contain the domain name and the hosted zone ID of the next hosted zone that isassociated with the current AWS account. If you want to list more hosted zones, makeanother call to ListHostedZonesByName, and specify the value ofNextDNSName and NextHostedZoneId in the dnsnameand hostedzoneid parameters, respectively.

Posted on:


API Description


AWS Route 53


Amazon Route 53 is a highly available and scalable cloud Domain Name System (DNS) web service. It is designed to give developers and businesses an extremely reliable and cost effective way to route end users to Internet applications by translating names like into the numeric IP addresses like that computers use to connect to each other. Amazon Route 53 is fully compliant with IPv6 as well.Amazon Route 53 effectively connects user requests to infrastructure running in AWS – such as Amazon EC2 instances, Elastic Load Balancing load balancers, or Amazon S3 buckets – and can also be used to route users to infrastructure outside of AWS. You can use Amazon Route 53 to configure DNS health checks to route traffic to healthy endpoints or to independently monitor the health of your application and its endpoints. Amazon Route 53 Traffic Flow makes it easy for you to manage traffic globally through a variety of routing types, including Latency Based Routing, Geo DNS, and Weighted Round Robin—all of which can be combined with DNS Failover in order to enable a variety of low-latency, fault-tolerant architectures. Using Amazon Route 53 Traffic Flow’s simple visual editor, you can easily manage how your end-users are routed to your application’s endpoints—whether in a single AWS region or distributed around the globe. Amazon Route 53 also offers Domain Name Registration – you can purchase and manage domain names such as and Amazon Route 53 will automatically configure DNS settings for your domains.

Curl command through

curl -v "{streamdata_token}"

Return to Main Page

Submit Your API

Join the gallery to find out how much you can save with