DNS: add troubleshooting information

This commit is contained in:
Daniel Langbein 2021-07-14 14:16:35 +02:00
parent aec951df56
commit 8e943e04f6

View File

@ -114,8 +114,35 @@ After some seconds, `resolv.conf` should just contain `nameserver 127.0.0.53`
cat /etc/resolv.conf 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 ## Verification of unencrypted DNS