kops no such host in route53

5/26/2018

I try to create cluster with kops. I buy domain name in aws route53 megatest.com in I created public Hosted zones.

megatest.com.
NS
ns-1092.awsdns-08.org. 
ns-1917.awsdns-47.co.uk. 
ns-69.awsdns-08.com. 
ns-801.awsdns-36.net.

megatest.com.
SOA
ns-801.awsdns-36.net. awsdns-hostmaster.amazon.com.

but when I a want to create my cluster I have this error

error doing DNS lookup for NS records for "artistesemergents.com": lookup artistesemergents.com on 127.0.0.53:53: no such host

The command that I use looks like this

kops create cluster --name=megatest.com --state=s3://kops-state-megatest123 --zones=us-east-1a --node-count=3 --node-size=t2.micro --master-size=t2.micro --dns-zone=megatest.com
-- john
amazon-route53
amazon-web-services
kops
kubernetes

1 Answer

5/26/2018

When you create your Hosted zones aws does not change your name server in your Registered domains.

Click on your domain in Registered domains after change your name server with the new name server on your host zones.

--
Source: StackOverflow