From 82ef806e9f5dc5233705cc0655a56543ee97eab9 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 28 Mar 2022 20:43:03 +0300 Subject: [PATCH] systemd-resolved README: add quickstart, remove extra h-levels --- etc/systemd/resolved.conf.d/README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/etc/systemd/resolved.conf.d/README.md b/etc/systemd/resolved.conf.d/README.md index 3a4b09ed..1fdd63e5 100644 --- a/etc/systemd/resolved.conf.d/README.md +++ b/etc/systemd/resolved.conf.d/README.md @@ -1,6 +1,15 @@ -## systemd-resolved additional config files +# systemd-resolved additional config files -### Files explained +## Quickstart + +```bash +sudo systemctl enable --now systemd-resolved.service +sudo ln -rsf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf +# After changing configuration +sudo systemctl restart systemd-resolved +``` + +## Files explained * `00-defaults.conf` - configuration not touching resolvers. Disables DNSSEC (as systemd-resolved doesn't handle it properly), enables opportunistic DoT and @@ -9,7 +18,7 @@ captive portals are a concern, `DNSOverTLS=no`. * `README.md` - you are reading it right now. -### General commentary +## General commentary * Based on my test DNSOverTLS is not supported in Ubuntu 18.04.x LTS (however at the time of writing this README.md, the current version is Ubuntu 20.04.0)