clarify pihole docs

This commit is contained in:
Malin Freeborn 2021-09-19 14:14:26 +02:00
parent 9aafa1f82c
commit 92530edbaa
2 changed files with 15 additions and 7 deletions

View File

@ -1,24 +1,32 @@
> yay -S pi-hole-server pi-hole-ftl
> yay -S pi-hole-server
> sudo systemctl disable systemd-resolved
> sudo systemctl enable --now pihole-FTL
> sudo systemctl stop systemd-resolved
> sudo systemctl disable --now systemd-resolved
> sudo systemctl enable pi-hole-server pihole-FTL
Add yourself as a pihole user, then logout, and log back in.
> sudo systemctl start pi-hole-server pihole-FTL
> sudo usermod -aG pihole $USER
Remove that google dns server.
> pihole -a setdns 1.1.1.1 1.0.0.1
> pihole -a setdns 9.9.9.9 1.0.0.1
Disable pihole password by setting a blank password.
> pihole -a -p
Get a new list of blocked domains, then reload:
> pihole -g -r
Every so often, run `pihole -g` again (perhaps put it in crontab).
# Configure cloudflare DNS
This is optional.
> yay -S cloudflared-bin
echo "proxy-dns: true

View File

@ -27,7 +27,7 @@ The mail is kept in /var/mail/ and you can read it with:
Aliases are groups of mail recipients. The lists are kept under /etc/aliases.
`crew: matthewlynas@gmail.com,ghost,danial@yahoo.com`
`crew: matthew@gmail.com,ghost,danial@yahoo.com`
Update the list of aliases from this with: