Hi!
When I'm trying to ping dns names I have an error:
Output:
But when I'm pinging IP adresses everything is okay (local IP in example):
Output:
I saw this thread: https://forum.proxmox.com/threads/temporary-failure-in-name-resolution.133176/
But in my case, I got this:
Output:
And when I run "resolvectl status" I got this output:
So, what I have to do to be able to ping dns names?
When I'm trying to ping dns names I have an error:
Code:
ping google.com
Code:
ping: google.com: Temporary failure in name resolution
Code:
ping 10.66.2.28
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
But in my case, I got this:
Code:
cat /etc/resolv.conf
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.
Code:
-bash: resolvectl: command not found