apt update fails on fresh new 6.2 install

diode

Active Member
Jul 23, 2020
5
1
43
43
After a fresh install of Proxmox 6.2, I'm receiving the following errors when trying to do an apt update. The node has acces to the internet as I can ping 8.8.8.8 just fine. All of the VMs installed also have access to the internet.

Any thoughts on what might be causing this? I'm sure it's a quick fix, but after some digging around last night I wasn't able to figure it out.

I have two other nodes in the same cluseter and neither of them are having issues.

starting apt-get update Err:1 http://ftp.us.debian.org/debian buster InRelease Temporary failure resolving 'ftp.us.debian.org' Err:2 http://security.debian.org buster/updates InRelease Temporary failure resolving 'security.debian.org' Err:3 http://download.proxmox.com/debian/pve buster InRelease Temporary failure resolving 'download.proxmox.com' Err:4 http://ftp.us.debian.org/debian buster-updates InRelease Temporary failure resolving 'ftp.us.debian.org' Reading package lists... W: Failed to fetch http://ftp.us.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'ftp.us.debian.org' W: Failed to fetch http://ftp.us.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'ftp.us.debian.org' W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org' W: Failed to fetch http://download.proxmox.com/debian/pve/dists/buster/InRelease Temporary failure resolving 'download.proxmox.com' W: Some index files failed to download. They have been ignored, or old ones used instead. TASK OK
 
Your dns is broken, is the correct dns server in /etc/resolv.conf ?
 
Trying 8.8.8.8 will tell you, that you can connect to the internet. But it doesn't check DNS is set up correctly.

Try pinging google.com and see the result...

It would appear that DNS is not working. When I try and ping google.com I receive:
# ping google.com ping: google.com: Temporary failure in name resolution
 
I've got the same issue.
ping 8.8.8.8 is working, but pinging google.com does not work...
what to do to change the DNS?