aws route5371 CLI commands available for Amazon Route 53.
| Command | API Operation | Sample |
|---|---|---|
activate-key-signing-keyActivates a key-signing key (KSK) so that it can be used for signing by DNSSEC. This operation changes the KSK status to ACTIVE. | ActivateKeySigningKey | |
associate-vpc-with-hosted-zoneAssociates an Amazon VPC with a private hosted zone. To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone. If you want to associate a VPC that was created by using one Amazon Web Services account wit | AssociateVPCWithHostedZone | |
change-cidr-collectionCreates, changes, or deletes CIDR blocks within a collection. Contains authoritative IP information mapping blocks to one or multiple locations. A change request can update multiple locations in a collection at a time, which is helpful if you want to move one or more CIDR blocks from one location to | ChangeCidrCollection | |
change-resource-record-setsCreates, changes, or deletes a resource record set, which contains authoritative DNS information for a specified domain name or subdomain name. For example, you can use ChangeResourceRecordSets to create a resource record set that routes traffic for test.example.com to a web server that has an IP ad | ChangeResourceRecordSets | |
change-tags-for-resourceAdds, edits, or deletes tags for a health check or a hosted zone. For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide. | ChangeTagsForResource | |
create-cidr-collectionCreates a CIDR collection in the current Amazon Web Services account. | CreateCidrCollection | |
create-health-checkCreates a new health check. For information about adding health checks to resource record sets, see HealthCheckId in ChangeResourceRecordSets. ELB Load Balancers If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for | CreateHealthCheck | |
create-hosted-zoneCreates a new public or private hosted zone. You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you wa | CreateHostedZone | |
create-key-signing-keyCreates a new key-signing key (KSK) associated with a hosted zone. You can only have two KSKs per hosted zone. | CreateKeySigningKey | |
create-query-logging-configCreates a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group. DNS query logs contain information about the queries that Route 53 receives for a specified public hosted zone, such as th | CreateQueryLoggingConfig | |
create-reusable-delegation-setCreates a delegation set (a group of four name servers) that can be reused by multiple hosted zones that were created by the same Amazon Web Services account. You can also create a reusable delegation set that uses the four name servers that are associated with an existing hosted zone. Specify the | CreateReusableDelegationSet | |
create-traffic-policyCreates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). | CreateTrafficPolicy | |
create-traffic-policy-instanceCreates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. In addition, CreateTrafficPolicyInstance associates the resource record sets with a specified domain name (such as example.com) or subdomain name (such as www.example.com). Amazon Rou | CreateTrafficPolicyInstance | |
create-traffic-policy-versionCreates a new version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the traffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create multiple DNS resource record sets | CreateTrafficPolicyVersion | |
create-vpc-association-authorizationAuthorizes the Amazon Web Services account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization request, you must use the account that crea | CreateVPCAssociationAuthorization | |
deactivate-key-signing-keyDeactivates a key-signing key (KSK) so that it will not be used for signing by DNSSEC. This operation changes the KSK status to INACTIVE. | DeactivateKeySigningKey | |
delete-cidr-collectionDeletes a CIDR collection in the current Amazon Web Services account. The collection must be empty before it can be deleted. | DeleteCidrCollection | |
delete-health-checkDeletes a health check. Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status of the health check can't | DeleteHealthCheck | |
delete-hosted-zoneDeletes a hosted zone. If the hosted zone was created by another service, such as Cloud Map, see Deleting Public Hosted Zones That Were Created by Another Service in the Amazon Route 53 Developer Guide for information about how to delete it. (The process is the same for public and private hosted zon | DeleteHostedZone | |
delete-key-signing-keyDeletes a key-signing key (KSK). Before you can delete a KSK, you must deactivate it. The KSK must be deactivated before you can delete it regardless of whether the hosted zone is enabled for DNSSEC signing. You can use DeactivateKeySigningKey to deactivate the key before you delete it. Use GetDNSSE | DeleteKeySigningKey | |
delete-query-logging-configDeletes a configuration for DNS query logging. If you delete a configuration, Amazon Route 53 stops sending query logs to CloudWatch Logs. Route 53 doesn't delete any logs that are already in CloudWatch Logs. For more information about DNS query logs, see CreateQueryLoggingConfig. | DeleteQueryLoggingConfig | |
delete-reusable-delegation-setDeletes a reusable delegation set. You can delete a reusable delegation set only if it isn't associated with any hosted zones. To verify that the reusable delegation set is not associated with any hosted zones, submit a GetReusableDelegationSet request and specify the ID of the reusable delegation | DeleteReusableDelegationSet | |
delete-traffic-policyDeletes a traffic policy. When you delete a traffic policy, Route 53 sets a flag on the policy to indicate that it has been deleted. However, Route 53 never fully deletes the traffic policy. Note the following: Deleted traffic policies aren't listed if you run ListTrafficPolicies. There's no wa | DeleteTrafficPolicy | |
delete-traffic-policy-instanceDeletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance. In the Route 53 console, traffic policy instances are known as policy records. | DeleteTrafficPolicyInstance | |
delete-vpc-association-authorizationRemoves authorization to submit an AssociateVPCWithHostedZone request to associate a specified VPC with a hosted zone that was created by a different account. You must use the account that created the hosted zone to submit a DeleteVPCAssociationAuthorization request. Sending this request only preve | DeleteVPCAssociationAuthorization | |
disable-hosted-zone-dnssecDisables DNSSEC signing in a specific hosted zone. This action does not deactivate any key-signing keys (KSKs) that are active in the hosted zone. | DisableHostedZoneDNSSEC | |
disassociate-vpc-from-hosted-zoneDisassociates an Amazon Virtual Private Cloud (Amazon VPC) from an Amazon Route 53 private hosted zone. Note the following: You can't disassociate the last Amazon VPC from a private hosted zone. You can't convert a private hosted zone into a public hosted zone. You can submit a DisassociateVPC | DisassociateVPCFromHostedZone | |
enable-hosted-zone-dnssecEnables DNSSEC signing in a specific hosted zone. | EnableHostedZoneDNSSEC | |
get-account-limitGets the specified limit for the current account, for example, the maximum number of health checks that you can create using the account. For the default limit, see Limits in the Amazon Route 53 Developer Guide. To request a higher limit, open a case. You can also view account limits in Amazon Web | GetAccountLimit | |
get-changeReturns the current status of a change batch request. The status is one of the following values: PENDING indicates that the changes in this request have not propagated to all Amazon Route 53 DNS servers managing the hosted zone. This is the initial status of all change batch requests. INSYNC i | GetChange | |
get-checker-ip-rangesRoute 53 does not perform authorization for this API because it retrieves information that is already available to the public. GetCheckerIpRanges still works, but we recommend that you download ip-ranges.json, which includes IP address ranges for all Amazon Web Services services. For more informat | GetCheckerIpRanges | |
get-dnssecReturns information about DNSSEC for a specific hosted zone, including the key-signing keys (KSKs) in the hosted zone. | GetDNSSEC | |
get-geo-locationGets information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets. Route 53 does not perform authorization for this API because it retrieves information that is already available to the public. Use the following syntax to determine wheth | GetGeoLocation | |
get-health-checkGets information about a specified health check. | GetHealthCheck | |
get-health-check-countRetrieves the number of health checks that are associated with the current Amazon Web Services account. | GetHealthCheckCount | |
get-health-check-last-failure-reasonGets the reason that a specified health check failed most recently. | GetHealthCheckLastFailureReason | |
get-health-check-statusGets status of a specified health check. This API is intended for use during development to diagnose behavior. It doesn’t support production use-cases with high query rates that require immediate and actionable responses. | GetHealthCheckStatus | |
get-hosted-zoneGets information about a specified hosted zone including the four name servers assigned to the hosted zone. returns the VPCs associated with the specified hosted zone and does not reflect the VPC associations by Route 53 Profiles. To get the associations to a Profile, call the ListProfileAssociati | GetHostedZone | |
get-hosted-zone-countRetrieves the number of hosted zones that are associated with the current Amazon Web Services account. | GetHostedZoneCount | |
get-hosted-zone-limitGets the specified limit for a specified hosted zone, for example, the maximum number of records that you can create in the hosted zone. For the default limit, see Limits in the Amazon Route 53 Developer Guide. To request a higher limit, open a case. | GetHostedZoneLimit | |
get-query-logging-configGets information about a specified configuration for DNS query logging. For more information about DNS query logs, see CreateQueryLoggingConfig and Logging DNS Queries. | GetQueryLoggingConfig | |
get-reusable-delegation-setRetrieves information about a specified reusable delegation set, including the four name servers that are assigned to the delegation set. | GetReusableDelegationSet | |
get-reusable-delegation-set-limitGets the maximum number of hosted zones that you can associate with the specified reusable delegation set. For the default limit, see Limits in the Amazon Route 53 Developer Guide. To request a higher limit, open a case. | GetReusableDelegationSetLimit | |
get-traffic-policyGets information about a specific traffic policy version. For information about how of deleting a traffic policy affects the response from GetTrafficPolicy, see DeleteTrafficPolicy. | GetTrafficPolicy | |
get-traffic-policy-instanceGets information about a specified traffic policy instance. Use GetTrafficPolicyInstance with the id of new traffic policy instance to confirm that the CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request completed successfully. For more information, see the State response element | GetTrafficPolicyInstance | |
get-traffic-policy-instance-countGets the number of traffic policy instances that are associated with the current Amazon Web Services account. | GetTrafficPolicyInstanceCount | |
list-cidr-blocksReturns a paginated list of location objects and their CIDR blocks. | ListCidrBlocks | |
list-cidr-collectionsReturns a paginated list of CIDR collections in the Amazon Web Services account (metadata only). | ListCidrCollections | |
list-cidr-locationsReturns a paginated list of CIDR locations for the given collection (metadata only, does not include CIDR blocks). | ListCidrLocations | |
list-geo-locationsRetrieves a list of supported geographic locations. Countries are listed first, and continents are listed last. If Amazon Route 53 supports subdivisions for a country (for example, states or provinces), the subdivisions for that country are listed in alphabetical order immediately after the correspo | ListGeoLocations | |
list-health-checksRetrieve a list of the health checks that are associated with the current Amazon Web Services account. | ListHealthChecks | |
list-hosted-zonesRetrieves a list of the public and private hosted zones that are associated with the current Amazon Web Services account. The response includes a HostedZones child element for each hosted zone. Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you ca | ListHostedZones | |
list-hosted-zones-by-nameRetrieves a list of your hosted zones in lexicographic order. The response includes a HostedZones child element for each hosted zone created by the current Amazon Web Services account. ListHostedZonesByName sorts hosted zones by name with the labels reversed. For example: com.example.www. Note t | ListHostedZonesByName | |
list-hosted-zones-by-vpcLists all the private hosted zones that a specified VPC is associated with, regardless of which Amazon Web Services account or Amazon Web Services service owns the hosted zones. The HostedZoneOwner structure in the response contains one of the following values: An OwningAccount element, which cont | ListHostedZonesByVPC | |
list-query-logging-configsLists the configurations for DNS query logging that are associated with the current Amazon Web Services account or the configuration that is associated with a specified hosted zone. For more information about DNS query logs, see CreateQueryLoggingConfig. Additional information, including the format | ListQueryLoggingConfigs | |
list-resource-record-setsLists the resource record sets in a specified hosted zone. ListResourceRecordSets returns up to 300 resource record sets at a time in ASCII order, beginning at a position specified by the name and type elements. Sort order ListResourceRecordSets sorts results first by DNS name with the labels re | ListResourceRecordSets | |
list-reusable-delegation-setsRetrieves a list of the reusable delegation sets that are associated with the current Amazon Web Services account. | ListReusableDelegationSets | |
list-tags-for-resourceLists tags for one health check or hosted zone. For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide. | ListTagsForResource | |
list-tags-for-resourcesLists tags for up to 10 health checks or hosted zones. For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide. | ListTagsForResources | |
list-traffic-policiesGets information about the latest version for every traffic policy that is associated with the current Amazon Web Services account. Policies are listed in the order that they were created in. For information about how of deleting a traffic policy affects the response from ListTrafficPolicies, see D | ListTrafficPolicies | |
list-traffic-policy-instancesGets information about the traffic policy instances that you created by using the current Amazon Web Services account. After you submit an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy defin | ListTrafficPolicyInstances | |
list-traffic-policy-instances-by-hosted-zoneGets information about the traffic policy instances that you created in a specified hosted zone. After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic p | ListTrafficPolicyInstancesByHostedZone | |
list-traffic-policy-instances-by-policyGets information about the traffic policy instances that you created by using a specify traffic policy version. After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified i | ListTrafficPolicyInstancesByPolicy | |
list-traffic-policy-versionsGets information about all of the versions for a specified traffic policy. Traffic policy versions are listed in numerical order by VersionNumber. | ListTrafficPolicyVersions | |
list-vpc-association-authorizationsGets a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone because you've submitted one or more CreateVPCAssociationAuthorization requests. The response includes a VPCs element with a VPC child element for each VPC that can be associated with | ListVPCAssociationAuthorizations | |
test-dns-answerGets the value that Amazon Route 53 returns in response to a DNS request for a specified record name and type. You can optionally specify the IP address of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask. This call only supports querying public hosted zones. The TestDnsAnswer | TestDNSAnswer | |
update-health-checkUpdates an existing health check. Note that some values can't be updated. For more information about updating health checks, see Creating, Updating, and Deleting Health Checks in the Amazon Route 53 Developer Guide. | UpdateHealthCheck | |
update-hosted-zone-commentUpdates the comment for a specified hosted zone. | UpdateHostedZoneComment | |
update-hosted-zone-featuresUpdates the features configuration for a hosted zone. This operation allows you to enable or disable specific features for your hosted zone, such as accelerated recovery. Accelerated recovery enables you to update DNS records in your public hosted zone even when the us-east-1 region is unavailable. | UpdateHostedZoneFeatures | |
update-traffic-policy-commentUpdates the comment for a specified traffic policy version. | UpdateTrafficPolicyComment | |
update-traffic-policy-instanceAfter you submit a UpdateTrafficPolicyInstance request, there's a brief delay while Route 53 creates the resource record sets that are specified in the traffic policy definition. Use GetTrafficPolicyInstance with the id of updated traffic policy instance confirm that the UpdateTrafficPolicyInstance | UpdateTrafficPolicyInstance |
Everything you need to know about Amazon Route 53 on one page. HD quality, print-friendly.
Download Free InfographicEverything you need to know about Amazon Route 53 on one page. HD quality, print-friendly.
Download Free InfographicRoute 53