diff --git a/docs/creating_subdomain.md b/docs/creating_subdomain.md index d5623f7ace..d3c0d02fc4 100644 --- a/docs/creating_subdomain.md +++ b/docs/creating_subdomain.md @@ -22,10 +22,10 @@ Fill up the box `Domain Name:` with your subdomain : k8s.example.com `Route 53` should generate your NS server like below in subdomain management console: ``` -ns-613.awsdns-13.net. -ns-75.awsdns-04.com. -ns-1022.awsdns-35.co.uk. -ns-1149.awsdns-27.org. +ns-613.-13.net. +ns-75.-04.com. +ns-1022.-35.co.uk. +ns-1149.-27.org. ``` Take note on these records. @@ -40,11 +40,10 @@ After done, the result should like this from cli: ``` ;; ANSWER SECTION: -k8s.example.com. 172800 IN NS ns-613.awsdns-13.net. -k8s.example.com. 172800 IN NS ns-75.awsdns-04.org. -k8s.example.com. 172800 IN NS ns-1022.awsdns-35.com. -k8s.example.com. 172800 IN NS ns-1149.awsdns-27.co.uk. +k8s.example.com. 172800 IN NS ns-613.-13.net. +k8s.example.com. 172800 IN NS ns-75.-04.org. +k8s.example.com. 172800 IN NS ns-1022.-35.com. +k8s.example.com. 172800 IN NS ns-1149.-27.co.uk. ``` Wait until the NS replication is ok - diff --git a/docs/examples/kops-test-route53-subdomain.md b/docs/examples/kops-test-route53-subdomain.md index 17ace29f9b..dc20109c5c 100644 --- a/docs/examples/kops-test-route53-subdomain.md +++ b/docs/examples/kops-test-route53-subdomain.md @@ -42,14 +42,14 @@ We can also check that our domain is reachable from the Internet using "dig". Yo ```bash dig +short example.org soa -ns-656.awsdns-18.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 +ns-656.-18.net. -hostmaster.amazon.com. 1 7200 900 1209600 86400 dig +short example.org ns -ns-1056.awsdns-04.org. -ns-656.awsdns-18.net. -ns-9.awsdns-01.com. -ns-1642.awsdns-13.co.uk. +ns-1056.-04.org. +ns-656.-18.net. +ns-9.-01.com. +ns-1642.-13.co.uk. ``` If both the "soa" and "ns" queries anwers OK, and with the data pointing to amazon, we are set and we can continue. Please always check that your Route53 hosted DNS zone is working before doing anything else. @@ -69,10 +69,10 @@ create-hosted-zone \ jq .DelegationSet.NameServers [ - "ns-1383.awsdns-44.org", - "ns-829.awsdns-39.net", - "ns-346.awsdns-43.com", - "ns-1973.awsdns-54.co.uk" + "ns-1383.-44.org", + "ns-829.-39.net", + "ns-346.-43.com", + "ns-1973.-54.co.uk" ] ``` @@ -80,10 +80,10 @@ Note that the last command (`aws route53 create-hosted-zone`) will output your n ```bash [ - "ns-1383.awsdns-44.org", - "ns-829.awsdns-39.net", - "ns-346.awsdns-43.com", - "ns-1973.awsdns-54.co.uk" + "ns-1383.-44.org", + "ns-829.-39.net", + "ns-346.-43.com", + "ns-1973.-54.co.uk" ] ``` @@ -121,16 +121,16 @@ cat<~/kopsclustertest.example.org.json "TTL": 300, "ResourceRecords": [ { - "Value": "ns-1383.awsdns-44.org" + "Value": "ns-1383.-44.org" }, { - "Value": "ns-829.awsdns-39.net" + "Value": "ns-829.-39.net" }, { - "Value": "ns-346.awsdns-43.com" + "Value": "ns-346.-43.com" }, { - "Value": "ns-1973.awsdns-54.co.uk" + "Value": "ns-1973.-54.co.uk" } ] } @@ -190,10 +190,10 @@ The last command will output the following info: ||+---------------------------------------------------------------------------------+|| ||| Value ||| ||+---------------------------------------------------------------------------------+|| -||| ns-1383.awsdns-44.org. ||| -||| ns-829.awsdns-39.net. ||| -||| ns-346.awsdns-43.com. ||| -||| ns-1973.awsdns-54.co.uk. ||| +||| ns-1383.-44.org. ||| +||| ns-829.-39.net. ||| +||| ns-346.-43.com. ||| +||| ns-1973.-54.co.uk. ||| ||+---------------------------------------------------------------------------------+|| || ResourceRecordSets || |+-------------------------------------------------------+------------+--------------+| @@ -205,7 +205,7 @@ The last command will output the following info: ||+---------------------------------------------------------------------------------+|| ||| Value ||| ||+---------------------------------------------------------------------------------+|| -||| ns-1383.awsdns-44.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ||| +||| ns-1383.-44.org. -hostmaster.amazon.com. 1 7200 900 1209600 86400 ||| ||+---------------------------------------------------------------------------------+|| ``` @@ -214,14 +214,14 @@ Also, do a "dig" test in order to check the zone availability on the Internet: ```bash dig +short kopsclustertest.example.org soa -ns-1383.awsdns-44.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 +ns-1383.-44.org. -hostmaster.amazon.com. 1 7200 900 1209600 86400 dig +short kopsclustertest.example.org ns -ns-1383.awsdns-44.org. -ns-829.awsdns-39.net. -ns-1973.awsdns-54.co.uk. -ns-346.awsdns-43.com. +ns-1383.-44.org. +ns-829.-39.net. +ns-1973.-54.co.uk. +ns-346.-43.com. ``` If both your SOA and NS records are there, then your subdomain is ready to be used by KOPS. @@ -411,10 +411,10 @@ The output: ||+---------------------------------------------------------------------------------+|| ||| Value ||| ||+---------------------------------------------------------------------------------+|| -||| ns-1383.awsdns-44.org. ||| -||| ns-829.awsdns-39.net. ||| -||| ns-346.awsdns-43.com. ||| -||| ns-1973.awsdns-54.co.uk. ||| +||| ns-1383.-44.org. ||| +||| ns-829.-39.net. ||| +||| ns-346.-43.com. ||| +||| ns-1973.-54.co.uk. ||| ||+---------------------------------------------------------------------------------+|| || ResourceRecordSets || |+-------------------------------------------------------+------------+--------------+| @@ -426,7 +426,7 @@ The output: ||+---------------------------------------------------------------------------------+|| ||| Value ||| ||+---------------------------------------------------------------------------------+|| -||| ns-1383.awsdns-44.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ||| +||| ns-1383.-44.org. -hostmaster.amazon.com. 1 7200 900 1209600 86400 ||| ||+---------------------------------------------------------------------------------+|| || ResourceRecordSets || |+--------------------------------------------------------------+---------+----------+| @@ -545,16 +545,16 @@ Output: "Type": "NS", "ResourceRecords": [ { - "Value": "ns-1383.awsdns-44.org." + "Value": "ns-1383.-44.org." }, { - "Value": "ns-829.awsdns-39.net." + "Value": "ns-829.-39.net." }, { - "Value": "ns-346.awsdns-43.com." + "Value": "ns-346.-43.com." }, { - "Value": "ns-1973.awsdns-54.co.uk." + "Value": "ns-1973.-54.co.uk." } ] } @@ -564,7 +564,7 @@ Output: "Type": "SOA", "ResourceRecords": [ { - "Value": "ns-1383.awsdns-44.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400" + "Value": "ns-1383.-44.org. -hostmaster.amazon.com. 1 7200 900 1209600 86400" } ] } @@ -829,10 +829,10 @@ The output: ||+---------------------------------------------------------------------------------+|| ||| Value ||| ||+---------------------------------------------------------------------------------+|| -||| ns-1383.awsdns-44.org. ||| -||| ns-829.awsdns-39.net. ||| -||| ns-346.awsdns-43.com. ||| -||| ns-1973.awsdns-54.co.uk. ||| +||| ns-1383.-44.org. ||| +||| ns-829.-39.net. ||| +||| ns-346.-43.com. ||| +||| ns-1973.-54.co.uk. ||| ||+---------------------------------------------------------------------------------+|| || ResourceRecordSets || |+-------------------------------------------------------+------------+--------------+| @@ -844,7 +844,7 @@ The output: ||+---------------------------------------------------------------------------------+|| ||| Value ||| ||+---------------------------------------------------------------------------------+|| -||| ns-1383.awsdns-44.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ||| +||| ns-1383.-44.org. -hostmaster.amazon.com. 1 7200 900 1209600 86400 ||| ||+---------------------------------------------------------------------------------+|| ``` diff --git a/docs/getting_started/aws.md b/docs/getting_started/aws.md index ccef0cf692..90635d8ecb 100644 --- a/docs/getting_started/aws.md +++ b/docs/getting_started/aws.md @@ -123,16 +123,16 @@ Note: The NS values here are for the **SUBDOMAIN** "TTL": 300, "ResourceRecords": [ { - "Value": "ns-1.awsdns-1.co.uk" + "Value": "ns-1.-1.co.uk" }, { - "Value": "ns-2.awsdns-2.org" + "Value": "ns-2.-2.org" }, { - "Value": "ns-3.awsdns-3.com" + "Value": "ns-3.-3.com" }, { - "Value": "ns-4.awsdns-4.net" + "Value": "ns-4.-4.net" } ] } @@ -213,10 +213,10 @@ Should return something similar to: ``` ;; ANSWER SECTION: -subdomain.example.com. 172800 IN NS ns-1.awsdns-1.net. -subdomain.example.com. 172800 IN NS ns-2.awsdns-2.org. -subdomain.example.com. 172800 IN NS ns-3.awsdns-3.com. -subdomain.example.com. 172800 IN NS ns-4.awsdns-4.co.uk. +subdomain.example.com. 172800 IN NS ns-1.-1.net. +subdomain.example.com. 172800 IN NS ns-2.-2.org. +subdomain.example.com. 172800 IN NS ns-3.-3.com. +subdomain.example.com. 172800 IN NS ns-4.-4.co.uk. ``` This is a critical component when setting up clusters. If you are experiencing