We use the AWS CLI command Route53 to create the zone files for our domain name, that we got with Route53Domains.
Although the CLI53 tools is an easier way to create the actual resource records for a given domain name.
CLI53 - Command line tool to administer the Amazon Route 53 DNS service
You might need to install the tool on your machine.
sudo pip install cli53
Let's see what has been set up so far.
cli53 info houston-aws-wol.com
HostedZone:
ResourceRecordSetCount: 2
CallerReference: RISWorkflow-39c2a7fa61150b2e8fc6446fb786
Config:
Comment: HostedZone created by Route53 Registrar
PrivateZone: false
Id: /hostedzone/Z1KQXHOPZTDK7J
Name: houston-aws-wol.com.
DelegationSet:
NameServers:
- ns-753.awsdns-30.net
- ns-283.awsdns-35.com
- ns-1552.awsdns-02.co.uk
- ns-1451.awsdns-53.org
So Amazon has already set up 4 nameservers for me.
And given me a hosted-id which I need for some commands.
aws route53 --output json get-hosted-zone --id Z1KQXHOPZTDK7J
{
"HostedZone": {
"ResourceRecordSetCount": 2,
"CallerReference": "RISWorkflow-39c2a7fa61150b2fe97e8fc6446fb786",
"Config": {
"Comment": "HostedZone created by Route53 Registrar",
"PrivateZone": false
},
"Id": "/hostedzone/Z1KQXHEWZTDK7J",
"Name": "houston-aws-wol.com."
},
"DelegationSet": {
"NameServers": [
"ns-753.awsdns-30.net",
"ns-283.awsdns-35.com",
"ns-1552.awsdns-02.co.uk",
"ns-1451.awsdns-53.org"
]
}
}