Bumped by Community user
2 edited body
source | link

I'm using Kubuntu 18.04. When I'm in the office network, everything works fine, but when I connect to any other network (wired of wifi) I don't get proper DNS names - the old ones are still in systemd-resolve --status output. When I add the proper DNS address via systemd-resolve --set-dns=10.0.0.1 --interface=eno1, the problem is solved temporarily and I can resolve hostnames, but after a while it stops working and I have to run the --set-dns again again.

How do I solve this?

I'm using Kubuntu 18.04. When I'm in the office network, everything works fine, but when I connect to any other network (wired of wifi) I don't get proper DNS names - the old ones are still in systemd-resolve --status output. When I add the proper DNS address via systemd-resolve --set-dns=10.0.0.1 --interface=eno1, the problem is solved temporarily and I can resolve hostnames, but after a while it stops working and I have to run the --set-dns again.

How do I solve this?

I'm using Kubuntu 18.04. When I'm in the office network, everything works fine, but when I connect to any other network (wired of wifi) I don't get proper DNS names - the old ones are still in systemd-resolve --status output. When I add the proper DNS address via systemd-resolve --set-dns=10.0.0.1 --interface=eno1, the problem is solved temporarily and I can resolve hostnames, but after a while it stops working and I have to run the --set-dns again.

How do I solve this?

1
source | link

DNS is not applied with systemd-resolved

I'm using Kubuntu 18.04. When I'm in the office network, everything works fine, but when I connect to any other network (wired of wifi) I don't get proper DNS names - the old ones are still in systemd-resolve --status output. When I add the proper DNS address via systemd-resolve --set-dns=10.0.0.1 --interface=eno1, the problem is solved temporarily and I can resolve hostnames, but after a while it stops working and I have to run the --set-dns again.

How do I solve this?