@ -47,7 +47,9 @@ Depending on the sources you'll be using to generate the list, you'll need to in
### Create a new database
The so-called database (in the form of `blocking.p`) is a file storing all the matching entities (ASN, IPs, hostnames, zones…) and every entity leading to it.
For now there's no way to remove data from it, so here's the command to recreate it: `./db.py --initialize`.
It exists because the list cannot be generated in one pass, as DNS redirections chain links do not have to be inputed in order.
You can purge the database by removing old data using `./db.py --prune --prune-before TIMESTAMP` ;
`TIMESTAMP` can be generated using `date +%s`.
### Gather external sources
@ -79,6 +81,7 @@ In each folder:
- `*.custom.ext` are for sources that you don't want commited
Then, run `./import_rules.sh`.
Note that removed rules and every record depending on them will be automatically pruned.