如同在「升級跳板機」這邊提到的,這台跳板機是跑 Ubuntu 20.04,加上需要跑 PPPoE,我就遇到透過 PPPoE 拿到的 DNS 無法套用的系統內。
這點在「add pppoe support to systemd-networkd」這邊有被提到,而且看起來 Debian 那邊已經套用 patch 上去了,但 Ubuntu 這邊似乎還沒...
我看了看還是決定先暫時先回頭用 resolvconf,可以只用指令解決:
sudo apt install -y resolvconf sudo systemctl disable systemd-resolved
然後重開確認後就可以收工...
在 Lobsters 的「systemd through the eyes of a musl distribution maintainer」這篇看到的,隔壁 Hacker News 的「Systemd through the eyes of a musl distribution maintainer (catfox.life)」也可以參考,原文在則是「systemd through the…