Add resolved.conf

This commit is contained in:
JeremyStar™ 2024-03-09 13:11:14 +01:00
parent 76c7c99f0b
commit 09a3e05577
2 changed files with 17 additions and 0 deletions

View file

@ -33,5 +33,13 @@ docker compose restart
- Web: 8999 - Web: 8999
- DNS: 53 - DNS: 53
## systemd-resolved
If you use systemd-resolved (default on Arch Linux) you can use this command to apply a premade configuration file:
```bash
cp resolved.conf /etc/systemd/resolved.conf
systemctl restart systemd-resolved
resolvectl flush-caches
```
## License ## License
It's in the public domain. It's in the public domain.

9
resolved.conf Normal file
View file

@ -0,0 +1,9 @@
# Copy this file to /etc/systemd/
[Resolve]
DNS=127.0.0.1
DNS=::1
FallbackDNS=127.0.0.1
FallbackDNS=::1
Cache=no
CacheFromLocalhost=no
DNSStubListener=no