Why Kubernetes Not Able to access ip by the Domain Name?

149 Views Asked by At

i am trying to ping website by the Domain Name but pod is not able to ping the machine but when i tried with ip address it is able to ping the machine.After i add the ip with domain name in the hosts file on /etc folder it is able to ping the machine by domain name. is there any solution without doing that.

0

There are 0 best solutions below