lk/networking/pihole/pihole.md

31 lines
365 B
Markdown
Raw Normal View History

2022-01-16 18:20:39 +00:00
---
title: "pihole"
tags: [ "Documentation", "networking" ]
---
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-09-23 16:05:43 +00:00
> sudo vim /etc/dnsmasq/01-pihole.conf
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