With Gnome Ubuntu 14.04, it was possible to specify additional search domains for the resolv.conf, when editing a network connection, like so:
But where do I find this field for the "additional search domains" in Ubuntu 16.04?
Is the only "real" way to modify /etc/resolvconf/resolv.conf.d/base
or /etc/resolvconf/resolv.conf.d/head
? Is there no GUI way to do this?
In Ubuntu GNOME 16.04, you are correct that the ability to edit or add additional search domains is unavailable, but this is only true for the 'default' network editing system that you see. This 'newer' one was put in place, according to Jeremy Bicha in the
#ubuntu-gnome
IRC chat channel on Freenode, because the default editor in Settings should be easier to use for most end-users:And of course you can't see search domains in the default editor:
However, the original network editing GUI is still available. Just run
nm-connection-editor
. This will launch the same, good-old Network Manager editing window that you expect to see. That has the ability to do search domains. (Thanks to the#ubuntu-gnome
IRC channel on Freenode for this!)This procedure/answer also works in 18.04 and 20.04 as well (tested myself).
This was driving me mad in 16.04, then I managed to follow the instructions that I found here, and they seemed to work.
https://github.com/ansible/ansible/issues/17843
It does look like a hack though and it's certainly not a "GUI" way.
Beside updating or downgrading your Ubuntu and/or network manager, the only GUI solution i can think about is WICD (link to Ubuntu Community Wiki)