Page MenuHomePhorge

Disable systemd DNS resolver feature
Closed, ResolvedPublic


Systemd just gained DNS resolution as a feature. This should be disabled because of potentially negative consequences for anonymity and to reduce attack surface.



Event Timeline

This can probably be implemented by adding a systemd override for systemd-resolved.service.

To check:

sudo systemctl status systemd-resolved.service
Patrick changed the task status from Open to Review.Feb 5 2017, 8:16 PM


I've spent a lot thought on the migration. For new Whonix 14 images, systemd-resolved will never start.

When upgrading Whonix 13 to Whonix 14,

  • using - it will not start (since using apt-get-noninteractive that prevents daemon restarts and after reboot the systemd drop-in to prevent its startup will be in place)
  • when not using apt-get-noninteractive, systemd-resolved would start and keep running until the next reboot
    • there won't be an auto upgrade from Whonix 13 to Whonix 14 since the user has to manually change from jessie to stretch Debian and Whonix repository, so the risk for this to accidentally happen should be low
    • otherwise preventing this would be cumbersome and require a lot more code (inventing a postinst running systemd daemon-reload and whatnot)

This isn't a ticket for general question systemd yes vs no. If you like to raise this, please move it to the forums or so.

It was just to remind that this "feature" is just the tip of an iceberg that keeps getting bigger over time. If you see it feasible and preferable to move away from systemd I would expect you to start the ticket/discussion

Patrick claimed this task.