Add Search Domains in Network Manager
sudo nmcli
Or
sudo nmtui
Separate multiple domains with a comma.
After we have updated the network configuration we need to restart Network Manager so the changes will take effect.
sudo systemctl restart NetworkManager
The /etc/resolv.conf file is generated every time the Network Manager service starts or restarts which overwrites the manual changes.
Comments