This is Debian Buster. I need NetworkManager in order to run OpenShift.
My main interface is plugged in a Linuxbridge br1, which is configured in /etc/network/interfaces:
auto br1 iface br1 inet static bridge_ports eno1 address 192.168.1.27 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 192.168.1.16, 184.108.40.206
According to the documentation, NetworkManager should leave br1 alone. When I installed NetworkManager, a message to this effect was even displayed. However, br1 is managed by NM. I can probably live with this, but wonder why documentation and reality differ.
Next, NM sets the nameserver in /etc/resolv.conf to 127.0.0.1. I tried to change that with
nmcli c mod br1 ipv4.dns 192.168.1.16. The journal confirms
using nameserver 192.168.1.16#53(via br1), but /etc/resolv.conf is still set to 127.0.0.1. I also set
dns=none in /etc/NetworkManager/NetworkManager.conf, but to no avail. Yes, I did restart the service.
Any tips what I should do to correctly set the nameserver, and convince NetworkManager that it should not manage the bridge?