I have issue with resolving name servers on my Rasberry Pi runing ARM Ubuntu server 20.04 LTS. Every time I ping for example Google.com i got:

ping: google.com: Temporary failure in name resolution

This device is reaciving DNS from my router, and it is only affected device.

user@user:~$ nmcli dev show wlan0 | grep IP4
IP4.ROUTE[1]:                           dst =, nh =, mt = 600
IP4.ROUTE[2]:                           dst =, nh =, mt = 600

Figured this out: My /etc/resolve.conf was linked to /run/systemd/resolve/stub-resolv.conf

ls -la /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Jul 31  2020 resolv.conf -> ../run/systemd/resolve/stub-resolv.conf

which was screwed because /resolve/stub-resolv.conf did not existed. to resolve this I had to run: sudo mkdir /run/systemd/resolve and later create stub-resolv.conf and add nameserver to it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.