1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/ftldns/README.md

24 lines
514 B
Markdown
Raw Normal View History

2023-11-26 10:26:19 +02:00
FTLDNS
==========
[FTLDNS][1] (pihole-FTL) provides an interactive API and also generates statistics for Pi-hole®'s Web interface.
2023-11-26 17:08:50 +02:00
## Up and Running
```bash
$ docker compose up -d
$ dig @127.0.0.1 -p 53 www.youtube.com
$ docker compose exec ftldns pihole-FTL sql gravity.db
>>> .schema domainlist
>>> insert into domainlist(type, domain) values (3, '(\.|^)youtube\.com$');
>>> .quit
$ docker compose exec ftldns kill -RTMIN 1
$ dig @127.0.0.1 -p 53 www.youtube.com
```
2023-11-26 10:26:19 +02:00
[1]: https://github.com/pi-hole/FTL