
* 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
4 lines
131 B
Bash
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
|