From f697d977a9998b4a120b34a5be9ec81a83afb286 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Tue, 23 Feb 2021 23:00:24 +0100 Subject: [PATCH] clarify pihole --- networking/pihole/pihole.md | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/networking/pihole/pihole.md b/networking/pihole/pihole.md index 458fabe..4ceecd5 100644 --- a/networking/pihole/pihole.md +++ b/networking/pihole/pihole.md @@ -1,27 +1,26 @@ - -# List Out DNS - -> echo "addn-hosts=/etc/pihole/lan.list" | sudo tee /etc/dnsmasq.d/02-lan.conf - -Then edit that list - -> sudo vim /etc/dnsmasq.d/02-lan.conf - -`192.168.0.10 ratking.lan ratking` - -Then restart the pihole's dns: - -> sudo pihole restartdns - -#View DNS traffic +View DNS traffic > pihole -t -#Change password +Change password > pihole -a -p -# Get new list of cancer +Get new list of cancer > pihole -g +Change upstream DNS + +> sudo vim /etc/dnsmasq/pihol* + +## Troubleshooting + +> sudo usermod -aG pihole $USER + +> sudo systemctl stop systemd-resolved + +> sudo rm -f /dev/shm/FTL-* + +> pihole -g -r +