Error: Temporary failure in name resolution

Jojioe

New Member
Jun 26, 2025
2
0
1
Hi!
When I'm trying to ping dns names I have an error:
Code:
ping google.com
Output:
Code:
ping: google.com: Temporary failure in name resolution
But when I'm pinging IP adresses everything is okay (local IP in example):
Code:
ping 10.66.2.28
Output:
Code:
PING 10.66.2.28 (10.66.2.28) 56(84) bytes of data.
64 bytes from 10.66.2.28: icmp_seq=1 ttl=64 time=0.340 ms
64 bytes from 10.66.2.28: icmp_seq=2 ttl=64 time=0.316 ms
64 bytes from 10.66.2.28: icmp_seq=3 ttl=64 time=0.286 ms
64 bytes from 10.66.2.28: icmp_seq=4 ttl=64 time=0.280 ms
64 bytes from 10.66.2.28: icmp_seq=5 ttl=64 time=0.149 ms
^C
--- 10.66.2.28 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4102ms
rtt min/avg/max/mdev = 0.149/0.274/0.340/0.066 ms
I saw this thread: https://forum.proxmox.com/threads/temporary-failure-in-name-resolution.133176/
But in my case, I got this:
Code:
cat /etc/resolv.conf
Output:
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.
And when I run "resolvectl status" I got this output:
Code:
-bash: resolvectl: command not found
So, what I have to do to be able to ping dns names?
 
Add your DNS to the /etc/resolv.conf or in the WebUI System | DNS
In the /etc/resolv.conf it should look like
nameserver 8.8.8.8
 
Hi,
assuming you're talking about a Proxmox VE node, you can set the DNS to use in the webGUI. There is a setting available for DNS

1750958069142.png
 
Did you install from promox iso or on an existing debian?
From proxmox iso
Add your DNS to the /etc/resolv.conf or in the WebUI System | DNS
In the /etc/resolv.conf it should look like
nameserver 8.8.8.8
Thank you! I'll try it
Hi,
assuming you're talking about a Proxmox VE node, you can set the DNS to use in the webGUI. There is a setting available for DNS

View attachment 87511
Thank you! I'm working with server remotely, so, is there any chance that if I write standard google dns 8.8.8.8 I'll lose my remote access?