Pihole blocklists

From wikinotes

pi-hole stores it's allowlists/denylists in an sqlite database.

Documentation

databases docs https://docs.pi-hole.net/database/

Tutorials

Sample config https://github.com/stevepanaghi/pihole_config

Interactive

pihole -b "block-domain.com"      # blocklist
pihole -w "allow-domain.com"      # allowlist
pihole -regex "good.com/ads/.*$"  # regex blocklist

Configuration

TODO:

It looks like you may be able add arbitrary files to /etc/pihole/*.list ?
There are no docs for this? It's probably safest to write a script.