Skip to content

Pihole

Pi-Hole is a system for network-wide adblocking. It replaces the DNS server and apps are by default network-wide banned.

Very good blocklist from Firebog

Commands

For more informations see pihole command

pihole enable
pihole restartdns

Change password

pihole -a -p

Update gravity.db

Update gravity db from blocklists

pihole -g

Modify gravity.db

For more informations see gravity

Delete all exact blacklist entries

sudo sqlite3 /etc/pihole/gravity.db "delete from domainlist where type=1;"

Other examples are found gravity examples