From 6edf57189a84975ee7cdfe7754b2ef5945a90c08 Mon Sep 17 00:00:00 2001 From: zanhsieh Date: Tue, 30 May 2017 13:23:29 +0800 Subject: [PATCH] Update creating_subdomain.md Fix the problem on creating subdomain hosted zone since we cannot access the subdomain records (even NS records) initially without visit Route53 management console. --- docs/creating_subdomain.md | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/docs/creating_subdomain.md b/docs/creating_subdomain.md index c9464e3016..d5623f7ace 100644 --- a/docs/creating_subdomain.md +++ b/docs/creating_subdomain.md @@ -3,24 +3,15 @@ You can create a subdomain that uses Amazon Route 53 as the DNS service without migrating the parent domain from another DNS service. -example : +The procedure shall involve following steps: -Your main domain is `example.com` but you want to create a subdomain NameServer. +- Create subdomain hosted zone +- Create NS record on the parent domain hosted zone -Stat of your domain. - -> dig ns example.com - -``` -;; QUESTION SECTION: -;example.com. IN NS - -;; ANSWER SECTION: -example.com. 3600 IN NS ns3.somensserver.com. -``` +In this example, we use `example.com` as parent hosted zone. ## Create Subdomain -You want to keep those records, now lets create the subdomain. +You want to keep those parent domain hosted zone records, so now lets create the subdomain. On your `route 53` create the subdomain : @@ -28,19 +19,22 @@ On your `route 53` create the subdomain : Fill up the box `Domain Name:` with your subdomain : k8s.example.com -`Route 53` should generate your NS server like : +`Route 53` should generate your NS server like below in subdomain management console: ``` -;; ANSWER SECTION: ns-613.awsdns-13.net. ns-75.awsdns-04.com. ns-1022.awsdns-35.co.uk. ns-1149.awsdns-27.org. ``` -With your registrar add those NS server to your subdomain. +Take note on these records. -The result should be. +## Create NS record on Parent domain hosted zone + +Add / Create a NS record on the parent domain hosted zone with previous noted subdomain NS server records via parent domain management console. + +After done, the result should like this from cli: >dig ns k8s.example.com