I am getting the following error from ubuntu 22.04 terminal, connected via wired ethernet connection: When I type the following command which I am using in a bash script:
ping google.com
and
apt-get update
I get the following error:
ping: google.com: Temporary failure in name resolution
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease Temporary failure resolving 'archive.
Originally, the Internet worked fine, but the above command does not work after apt-get install ntp.
When I installed ntp, I saw system list?? in a purple screen and clicked enter without thinking.
Adding nameserver 8.8.8.8 and nameserver 8.8.4.4 to /etc/resolve.conf does not work either.
A Kubernetes master node is running on that server.
Any help would be greatly appreciated!....
please help..