From 8e943e04f646b4853c213577c0a4bffe8f340cb7 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 14 Jul 2021 14:16:35 +0200 Subject: [PATCH] DNS: add troubleshooting information --- pkg/de-p1st-dns/README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/pkg/de-p1st-dns/README.md b/pkg/de-p1st-dns/README.md index b157dd2..75cc4ea 100644 --- a/pkg/de-p1st-dns/README.md +++ b/pkg/de-p1st-dns/README.md @@ -114,8 +114,35 @@ After some seconds, `resolv.conf` should just contain `nameserver 127.0.0.53` cat /etc/resolv.conf ``` -See also: `resolvectl status` +## Troubleshooting +### View global and per-link DNS settings + +```shell +resolvectl status +``` + +### Watch journal + +1) Enable debug + +```shell +sudo systemctl edit systemd-resolved +``` +``` +[Service] +Environment=SYSTEMD_LOG_LEVEL=debug +``` + +```shell +sudo systemctl restart systemd-resolved +``` + +2) View the log + +```shell +journalctl -u systemd-resolved -f +``` ## Verification of unencrypted DNS