User Tools

Site Tools


pi-hole:block_lists:extract_the_domains_from_the_long-term_database

Pi-Hole - Block Lists - Extract the domains from the long-term database

sqlite3 /etc/pihole/pihole-FTL.db "SELECT domain FROM queries LIMIT 100000;" > domains.list

NOTE: This will generate a list file with up to 100,000 domains.

They are extracted into the domains.list file as they are recorded in the database.

There will be lots of frequently queried domains as well as some blocked ad domains.

pi-hole/block_lists/extract_the_domains_from_the_long-term_database.txt · Last modified: 2020/08/28 13:58 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki