OS Ubuntu 20.04.3 LTS
After a recent update a working laptop suddently developped the following 
problem : 
- DNS problems for al Internet related apps
- Ping :  termporary failure in Name resolution 
editing manually allows internet access for short term until systemd-resolve 
overwrites the file.
Its no use to replace /etc/resolv.conf with a file as it get overwritten 
regulary. 

The stub-file  /run/systemd/resolve/stub-resolv.conf contains

> nameserver 127.0.0.53
> options edsn0 trust-ad 

In my Network options I have  
DHCP auto 
DNS  manual  19*.2*8.*.21, 19*.2*8.*.22 which are my ISP dedicated DNS servers 
(stars are hiding numbers)

when i overwrite /etc/resolv.conf with 
>  nameserver 19*.2*8.*.21
>  nameserver 19*.2*8.*.22 
my internet connection temporarily works 

The /run/systemd/resolve/resolve.conf contains
> nameserver ::1

I tried overwriting /run/systemd/resolve/stub-resolv.conf with the correct 
nameservers and 
then  applied your solution : 
$ sudo rm -f /etc/resolv.conf
$ sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf   

And restarted the systemd-resolve  service

and the /etc/resolv.conf and /run/systemd/resolve/resolv.conf files
showed again

> nameserver ::1

Your solution doesn't work

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1774632

Title:
  The symbolic link /etc/resolv.conf points to the wrong file by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1774632/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to