diff --git a/distros/arch/pi-hole-server.md b/distros/arch/pi-hole-server.md index add2b98..a8ddb13 100644 --- a/distros/arch/pi-hole-server.md +++ b/distros/arch/pi-hole-server.md @@ -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 diff --git a/system/e-mail.md b/system/e-mail.md index 42f6bd7..842cf9d 100644 --- a/system/e-mail.md +++ b/system/e-mail.md @@ -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: