Pi-hole Updates Deliver Notable Performance Boosts and Enhanced Security
Pi-hole, the popular open-source network-level ad blocker, has released a significant triple update encompassing FTL v6.4, Web v6.4, and Core v6.3. These releases prioritize performance enhancements and quality-of-life improvements,notably beneficial for users running pi-hole on resource-constrained hardware like older Raspberry Pi models or within containerized environments.
Under the hood: Optimized for Speed and Efficiency
The core of this update lies in significant backend optimizations. Developers have meticulously refined the codebase, focusing on string processing and memory management. Implementation of new compiler flags, including -march=native and -funroll-loops, is expected to yield a demonstrably faster user experience.
A key area of improvement addresses database contention – a common bottleneck in logging tools. By reducing DNS resolver locking during database interactions, Pi-hole minimizes system delays and maintains responsiveness, even under substantial network load. this directly translates to a smoother, more reliable ad-blocking experience.
Enhanced User Experience and Security
Beyond performance, the update introduces several user-centric features. Users leveraging two-factor authentication (2FA) will appreciate the streamlined login process. The Time-Based One-Time Password (TOTP) input field now supports autocomplete="one-time-code", enabling browser and password manager integration for effortless code entry.
Security has also been bolstered with rate-limiting for TOTP validation. This crucial addition restricts login attempts to one per second, effectively mitigating brute-force attacks targeting 2FA codes.
Improved Data Analysis and API Functionality
The update refines data analysis capabilities. The “All Time” range in the Query Log now accurately reflects the earliest timestamp in your database, providing a truly comprehensive historical view of network activity – invaluable for in-depth troubleshooting and network monitoring.
For advanced users and developers utilizing the Pi-hole API, several key changes have been implemented:
* Gravity API: Now defaults to plain text output, sending ANSI color codes only upon explicit request. This resolves compatibility issues with API consumers that struggle with escape codes, ensuring smoother automation and scripting.
* Search API: Enhanced with support for simple partial matching for regular expressions, significantly accelerating the process of locating specific domains within large blocklists.
* Extended Hardware Address Support: The API now correctly handles hardware addresses exceeding 48 bits, accommodating advanced networking hardware configurations like InfiniBand.
System-Level Improvements and debugging
The update also includes essential system-level enhancements. The embedded SQLite version has been upgraded to 3.51.0, bringing inherent performance and stability improvements. Moreover, the piholeDebug.sh tool now processes and displays file contents and services more rapidly, accelerating the generation of detailed debug logs for efficient issue resolution.
These updates collectively represent a significant step forward for Pi-hole,solidifying its position as a leading solution for network-wide ad blocking and privacy protection.
Source: https://pi-hole.net/blog/2025/11/27/pi-hole-ftl-v6-4-web-v6-4-and-core-v6-3-released/