mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
DNS: add troubleshooting information
This commit is contained in:
parent
aec951df56
commit
8e943e04f6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user