1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/ftldns
2023-11-28 21:53:04 +08:00
..
data update ftldns 2023-11-28 21:34:36 +08:00
docker-compose.yml update ftldns 2023-11-28 21:37:33 +08:00
Dockerfile update ftldns 2023-11-28 21:53:04 +08:00
README.md update ftldns 2023-11-28 21:34:36 +08:00

FTLDNS

FTLDNS (pihole-FTL) provides an interactive API and also generates statistics for Pi-hole®'s Web interface.

Up and Running

$ docker compose up -d

$ dig @127.0.0.1 -p 53 www.youtube.com

$ docker compose exec ftldns pihole-FTL sql -h 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

$ telnet 127.0.0.1 4711
>version
>stats
>top-domains (15)
>top-clients
>getallqueries-client 2.3.4.5
>quit

Read more about telnet-api.