25 lines
No EOL
515 B
Markdown
25 lines
No EOL
515 B
Markdown
---
|
|
creation date: 2022-01-08
|
|
tags: [note,linux,archlinux,dns]
|
|
---
|
|
|
|
# DNS
|
|
|
|
**Please use a local unbound which is even better!**
|
|
|
|
Start and enable
|
|
|
|
```
|
|
systemd-networkd
|
|
systemd-resolved
|
|
```
|
|
|
|
If you desire that any network manager cannot change the DNS servers, then execute `sudo chattr -i /etc/resolv.conf; sudo nano /etc/resolv.conf; sudo chattr +i /etc/resolv.conf` to insert the following content:
|
|
|
|
```
|
|
options timeout:1
|
|
nameserver 80.241.218.68
|
|
nameserver 46.182.19.48
|
|
nameserver 8.8.8.8
|
|
nameserver 1.1.1.1
|
|
``` |