lk/networking/pihole/pihole.md

27 lines
293 B
Markdown
Raw Normal View History

2021-02-23 22:00:24 +00:00
View DNS traffic
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
> pihole -t
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
Change password
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
> pihole -a -p
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
Get new list of cancer
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
> pihole -g
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
Change upstream DNS
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
> sudo vim /etc/dnsmasq/pihol*
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
## Troubleshooting
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
> sudo usermod -aG pihole $USER
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
> sudo systemctl stop systemd-resolved
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
> sudo rm -f /dev/shm/FTL-*
2020-01-02 00:04:35 +00:00
2021-02-23 22:00:24 +00:00
> pihole -g -r
2020-01-02 00:04:35 +00:00