mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-22 08:15:13 +00:00
- If installing systemd-resolved for the first time, set fallback DNS setting to True irrespective of the app version. Tests: - Ensure that systemd-resolved is not installed. On a fresh systemd without first setup done, run service. - Names app setup is run and systemd-resolved is installed if internet connection is available. Setup succeeds. Fallback DNS setting is true in privacy app. systemd-resolved has been restarted and current DNS known to Network Manager has been populated in it. Name resolution works. - If Internet connection is not available, setup still succeeds but systemd-resolved package is not installed. - Rerun setup without internet connectivity. Setup succeeds without installing systemd-resolved. - Rerun setup with internet connectivity. Setup succeeds and installs systemd-resolved. Fallback DNS setting is true in privacy app. systemd-resolved has been restarted and current DNS known to Network Manager has been populated in it. Name resolution works. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>