The execution of commands is primarily verified in AWS Cloud9.
If you would like to provide command examples, please submit them through the contact form.
You may also use this form to request corrections for the listed command examples.
Create a new reusable delegation set
aws route53 create-reusable-delegation-set \
--caller-reference `date +"%Y-%m-%dT%H:%M:%S"/ExampleSet`
output
{
"Location": "https://route53.amazonaws.com/2013-04-01/delegationset/N013183735EMVZ1OKH7ZD",
"DelegationSet": {
"Id": "/delegationset/N013183735EMVZ1OKH7ZD",
"CallerReference": "2024-04-07T09:08:20/ExampleSet",
"NameServers": [
"ns-2048.awsdns-64.com",
"ns-2049.awsdns-65.net",
"ns-2050.awsdns-66.org",
"ns-2051.awsdns-67.co.uk"
]
}
}
by yyg
Create a public hosted zone from a reusable delegation set
aws route53 create-hosted-zone \
--delegation-set-id "/delegationset/N013183735EMVZ1OKH7ZD" \
--name myexample.com \
--caller-reference `date +"%Y-%m-%dT%H:%M:%S"/CreateZone`
output
{
"Location": "https://route53.amazonaws.com/2013-04-01/hostedzone/Z3BJ6K6RIION7M",
"HostedZone": {
"Id": "/hostedzone/Z3BJ6K6RIION7M",
"Name": "myexample.com.",
"CallerReference": "2024-04-07T09:25:45/CreateZone",
"Config": {
"PrivateZone": false
},
"ResourceRecordSetCount": 2
},
"ChangeInfo": {
"Id": "/change/C012345678ABCDEFGH",
"Status": "PENDING",
"SubmittedAt": "2024-04-07T09:25:46.479000+00:00"
},
"DelegationSet": {
"Id": "/delegationset/N013183735EMVZ1OKH7ZD",
"CallerReference": "2024-04-07T09:08:20/ExampleSet",
"NameServers": [
"ns-2048.awsdns-64.com",
"ns-2049.awsdns-65.net",
"ns-2050.awsdns-66.org",
"ns-2051.awsdns-67.co.uk"
]
}
}
by yyg
Create a reusable delegation set from an existing public hosted zone
aws route53 create-reusable-delegation-set \
--caller-reference `date +"%Y-%m-%dT%H:%M:%S"/ExistingSet` \
--hosted-zone-id Z3BJ6K6RIION7M
output
{
"Location": "https://route53.amazonaws.com/2013-04-01/delegationset/N013183735EMVZ1OKH7ZE",
"DelegationSet": {
"Id": "/delegationset/N013183735EMVZ1OKH7ZE",
"CallerReference": "2024-04-07T09:30:32/ExistingSet",
"NameServers": [
"ns-2048.awsdns-64.com",
"ns-2049.awsdns-65.net",
"ns-2050.awsdns-66.org",
"ns-2051.awsdns-67.co.uk"
]
}
}
by yyg
Delete a reusable delegation set
aws route53 delete-reusable-delegation-set --id "/delegationset/N013183735EMVZ1OKH7ZE"
output
None
by yyg