Use systemd-resolved's stub resolver (#2150)

* Fix comment

* Use systemd-resolved's stub resolver

On first run, symlink systemd-resolved's resolver into /etc/resolv.conf

Matches migration 1754984623

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Samuel Péchèr
2025-10-07 13:27:01 +01:00
committed by GitHub
parent dfd133df87
commit e6d1a2f754
3 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# https://wiki.archlinux.org/title/Systemd-resolved
echo "Symlink resolved stub-resolv to /etc/resolv.conf"
sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf