Route53 DNS subdomain delegation with Godaddy
Amazon Route 53 is a highly available and scalable cloud Domain Name System (DNS) web service. Cloud Ops engineer needs to setup Route53 hosted zone on sub-domain, rather than migrating parent domain.
In this article, we show how you can have subdomain delegation to Route53, when your registrar is Godaddy. Following are the step-wise procedure, that you need to :
- Create Hosted Zone in Route53 with subdomain. Suppose we create hosted zone on parent domain snetlabs.com as sub.snetlabs.com . Once we create it, you can see NS and SOA record are created. Please keep note of the NS record values, we would need Name server values shown in NS record, while delegating sub-domain from Godaddy.
2. We create NS records in Godaddy having value of name server we noted above. For this we open the “DNS Manage” for the domain name on which we want to delegate subdomain( See screenshots below for your Godaddy console) . One you reach the screen where you can see “Add” for add records, you can create NS record entries with Host value is “sub”( depicting sub.snetlabs.com) and value as of NS records note above.. In our example case, we have four name servers, which we noted in above screen against NS record. Create four Name server ( or also called NS record) record in Godaddy for each name server noted above.
This is what you need to do. Once you are done, then its time for verifying whether Route53 hosted zone is working fine or not. For this create A record in Route53 with domain test.sub.snetlabs.com having value as 1.1.1.1 and trying pinging it. If you are able to ping, you are done. Enjoy!!