Skip to content

Commit

Permalink
scripts/update-systemd-from-27-to-238.sh: Leave Unbound enabled
Browse files Browse the repository at this point in the history
Due to several problems with systemd-resolved [1][2], we keep Unbound
for now as the local validating, recursive, and caching resolver.

Leave systemd-resolved running to have the D-Bus API. It will use the
resolvers from `/etc/resolv.conf`.

[1]: https://github.com/systemd/systemd/issues/8451
[2]: https://github.com/systemd/systemd/issues/8450
pmenzel committed Mar 15, 2018
1 parent 8845468 commit 4e8e55f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/update-systemd-from-27-to-238.sh
Original file line number Diff line number Diff line change
@@ -29,13 +29,10 @@ sed -i 's/required pam_systemd.so create-session=1 kill-user=0 kill-sessio
echo "You can migrate to system-networkd."

systemctl stop ntp
systemctl stop unbound
systemctl disable ntp
systemctl disable unbound
systemctl daemon-reload
bee remove ntp-4.2.8p8-0.x86_64

ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
mkdir -p /etc/systemd/resolved.conf.d/
echo -e "[Resolve]\\nDomains=molgen.mpg.de" >> /etc/systemd/resolved.conf.d/domains.conf
echo -e "[Resolve]\\nLLMNR=no" >> /etc/systemd/resolved.conf.d/disable-llmnr.conf

0 comments on commit 4e8e55f

Please sign in to comment.