Resolving random name to random ip for in kubernetes pods

11/3/2020
<br/> I have a kube claster deployed in my VM. I would like that kube pods be able to resolve the VM host name. I know that kubernetes resolves names by DNS but I have no any DNS. <br/> I would like to know is there any way to configure kube-dns that it resolves random name to random ip. <br/> For example: I want that name "foo" is resolved to "1.2.3.4" for all pods.
-- dred dred
kube-dns
kubernetes

0 Answers