dns-nameserver setting ignored
I am trying to convince Debian Buster to use the nameserver defined in /etc/network/interfaces, as follows:
Code:
auto ens3f0 By the way, this server runs NetworkManager, but I understand that NM leaves NICs alone when they have an entry in /etc/network/interfaces. Indeed, nmcli d shows ens3f0 is unmanaged. In any case, I also stopped NetworkManager. No change. Reboot - same result. Yes I know I can just write the nameserver in /etc/resolv.conf manually. But I want it to work the way it's documented. What is going on? Where do I look? |
Is systemd-networkd supposed to honor the settings in /etc/network/interfaces?
Is it active at all? On my laptop - which uses NetworkManager - it isn't: Code:
$ systemctl | grep -i network Maybe it has its own config option to globally define nameservers? |
Quote:
The problem occurs when NetworkManager is active/enabled and dead/disabled. Luckily I still have some hair to pull out. Code:
# resolvectl |
Well, I do need resolvconf if I want dns-nameservers to have the intended effect. It was not installed.
|
All times are GMT -5. The time now is 12:10 AM. |