Demo: DNS Troubleshooting
This article is targeting DNS troubleshooting. Kops need to have DNS working properly, otherwise you cannot start your cluster or sometime you can start your cluster but you will be not be able to connect to it.
So, this article will explain, how to troubleshoot DNS.
On the machine, where you have installed kops. You need to install `bind9-host` tool using below command:
$ sudo apt install bind9-host
Now you can use executable host.
To check NS is properly set, use below command:
$ host -t NS
$ host -t NS k8s.timesofcloud.com
Above command should return the name server of sub-domain (k8s.timesofcloud.com) is pointing to Route53 zones. If it does not return the Amazon name servers, then something is not working.
You need to create a new Record Set in your master domain, and add sub-domain NS in it.
279 total views, 1 views today