omarchy/migrations/1754984623.sh
Kevin McConnell aca23ad834
Use host's DNS resolver in Docker containers (#812)
* Symlink /etc/resolve.conf to systemd-resolved's stub

Since systemd-resolved is managing the DNS configuration, ensure that
/etc/resolv.conf uses it.

* Use systemd-resolved from Docker containers
2025-08-15 15:29:25 +02:00

4 lines
131 B
Bash

echo "Ensure DNS resolver configuration is properly symlinked"
sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf