Ubuntu 20.04 static connection doesn't get search domain after boot.

Started by kalpana, Oct 21, 2023, 05:11 AM

Previous topic - Next topic

kalpana

Upgraded from 18.04 where everything worked just fine. After reboot, don't see local computers. Checked /etc/resolv.conf, there is no search domain. Checked Network Manager configuration, search domain is there. After a bit of tinkering, tried to restart systemd-resolved. Well, it fixed the problem, /etc/resolv.conf has a search domain. This problem is not happening on laptop with DHCP Wi-Fi connection.
So far I made a script which runs on cron every half an hour and restarts resolved if there is no search domain. Any better solution?

I should say I'm disappointed. With Ubuntu since 5.04, networking always worked perfectly, didn't have to do anything except setup.
Separate issue is netplan on servers, I don't have any nice words for this thing.