I was given a task of creating a cluster on aws, which I did (stage environment). Since that will be used as our stage environment where we will be using kubernetes.
But there is a problem, since our DNS entries for our apps (there are about three) are already used for our present stage environment that is not in the kubernetes cluster, I was given a task of creating a private DNS server, where those DNS entries (that are already used) will be used for the kubernetes environment.
So, basically I have to make a private DNS server that when used with our VPN connection, will resolve the DNS names to the kubernetes cluster not the other stage environment that is in use.
Since I never did something like that, my questions are:
1.) I probably need to install s DNS server on an ec2 instance, but what configuration do I need to put it there?
2.) How do I connect our VPN connection to the private DNS server, so that every one that uses it first resolves to the kubernetes cluster first?
In general I dont know if there are any other ways of resolving this problem, so If anyone has some tips, I'm all ears :)