Ubuntuのsystemd-resolvedでlocal DNS stub listenerの利用をやめる
ナビゲーションに移動
検索に移動
netplan と systemd-networkd で設定する
/etc/systemd/resolved.conf
#DNSStubListener=yes
→DNSStubListener=no
resolv.conf のシンボリックリンクを作成
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
systemd-resolved を再起動
# systemctl restart systemd-resolved