nmcli set dns search

2023-02-02 Thread Mike Wright
Hi all, I'm trying to use nmcli to set what would be the "search" option in /etc/resolv.conf. Using nmcli to set the search domain "nmcli con mod eth0 ipv4.dns-search main" (.main is the local private TLD for historical reasons) "nmcli con show eth0" answers with ipv4.dns-search: main

Re: nmcli set dns search

2023-02-02 Thread Mike Wright
On 2/2/23 17:59, Mike Wright wrote: Hi all, I'm trying to use nmcli to set what would be the "search" option in /etc/resolv.conf. I found that NM was reconfiguring eth0 into dhcp and wiping my settings in the process. Changing ipv4.method from auto (default) to manual stopped that. So fa