mirror of
https://github.com/pi-hole/FTL.git
synced 2026-07-07 20:05:06 +01:00
0e9de57cc19f7cc6010366ebbb2a809753cc92e5
commit 1269f074f86bb959863012063060a3a082d37dc4 broke hostname_issubdomain() and then accidentally fixed some of the problems by inverting the argument order in the new uses of the function it introduced. All the pre-existing calls to hostname_issubdomain() were left in a non-working state. This fixes hostname_issubdomain() back to the state before 1269f074f86bb959863012063060a3a082d37dc4, adds some logic to give correct answers when comparing to the root domain, and gets right the new calls to hostname_issubdomain() added in 1269f074f86bb959863012063060a3a082d37dc4 Thanks to Jean Thomas for spotting this problem. Signed-off-by: Dominik <dl6er@dl6er.de>
Network-wide ad blocking via your own Linux hardware
FTLDNS (pihole-FTL) provides an interactive API and also generates statistics for Pi-hole®'s Web interface.
- Fast: stats are read directly from memory by coupling our codebase closely with
dnsmasq - Versatile: upstream changes to
dnsmasqcan quickly be merged in without much conflict - Lightweight: runs smoothly with minimal hardware and software requirements such as Raspberry Pi Zero
- Interactive: our API can be used to interface with your projects
- Insightful: stats normally reserved inside of
dnsmasqare made available so you can see what's really happening on your network
Official documentation
The official FTLDNS documentation can be found here.
Installation
FTLDNS (pihole-FTL) is automatically installed when installing Pi-hole.
IMPORTANT
FTLDNS will disable any existing installations of
dnsmasq. This is because FTLDNS isdnsmasq+ Pi-hole's code, so both cannot run simultaneously.
Languages
C
96.9%
C++
1.1%
Python
0.9%
Shell
0.7%
CMake
0.3%