Pi-hole 5.1 released

Originally published at: https://pi-hole.net/2020/07/15/pi-hole-5-1-released/

As always, we recommend that you read through the release notes and ensure that this update is something you wish to install.



You asked for it, we added it. Dark mode has been an often-requested feature. With Pi-hole v5.1, we finally have an inbuilt dark-mode which can be enabled on the settings page.

Dark mode animation

Pi-hole v5.1 includes an official dark mode.

Improved conditional forwarding flexibility

“Conditional forwarding” can be used to tell FTL to send queries to local devices (either with a local domain) and PTR requests for private ranges to a dedicated device (typically the router of the network) instead of the configured upstreams.
While this works for most users, it was not very flexible, as it implies three severe limitations (assuming the router is

  • It is limited to IPv4
  • It automatically assumes a Class D network. i.e. This is often correct (typically for 192.168.x.0/24 networks, but may also be wrong!
  • It requires the subnet to be the same Class D network the router is in (this may be a fair assumption, however).

Pi-hole v5.1 makes conditional forwarding more flexible:

  • It supports IPv4 and IPv6
  • It adds a dedicated box for the local subnet to be used (can be, e.g., in above’s example)
  • The router can be specified independently of the subnet, it could even be a foreign device (like “ask for all IPs in range

Pi-hole diagnostics system

We added a new tool providing users with easily accessible error messages. Previously, all these massages were only accessible by looking carefully through /var/log/pihole-FTL.log. As a result, many issues stayed unnoticed.

Fix for a severe bug in dnsmasq v2.81

We adopted dnsmasq v2.81 very early on. As it turned out, there was quite a severe bug in TCP query handling giving rise to a very large number of bug reports for FTL. We found a fix for this and it will be in dnsmasq v2.82. We have also applied the fix to Pi-hole FTL v5.1

Option to use the old style charts on dashboard

You now have the option to use the old curved line charts on the dashboard instead of the newer bar charts.

Updated Teleporter function

Exports more items and will import everything that is exported. Also, the teleporter export file name now includes the host name of the Pi-hole that generated the file (handy if you have multiple Pi-holes).

Added functionality of Local DNS records

Added support for CNAME records.

Improved handling of duplicate entries in adlists or domains

Don’t hard fail when adding duplicate adlists.

Minor re-arrangement of admin GUI

Moved network tab to “Tools” menu. General tidying and re-wording of various bits of the web GUI.

Further details can be found in the complete change log. You see, Pi-hole v5.1 again brings a lot of new stuff and also quite some fixes and other improvements:





Thank you all VERY much. Love the update!!!

Jep great work, and a special thanks for the dark mode, I love it!

Was waiting for this since 5.0 came out. While trying to flush network I keep getting this error -

There was a problem applying your settings.
Debugging information:
PHP error (2): implode(): Invalid arguments passed in /var/www/html/admin/scripts/pi-hole/php/savesettings.php:741

Updated!!! Thx!

And Core 5.1.1 has now been released:

Cosmetic bug fix for fresh installs. Prevents IPV4_ADDRESS and IPV6_ADDRESS from being blanked out when the install script calls webpage.sh to set the web password (which in turn re-sources basic-install.sh and (currently) resets these two variables)

Edit: Also @PromoFaux broke the debug script, so that too. :sweat_smile:

Please could you open a new thread and provide a debug token? Thanks!

A post was split to a new topic: Pi-hole V5.1 adlists not showing in web admin

3 posts were split to a new topic: Pihole v5.1 and PopOS!; 20.04

They can do all this, yet they won't support g-zip (HTTP compression) for downloading blocklists.

Pi-hole isn't very "green" on bandwidth use.

Nice update! Thanks :blush:

Sorry, I'll be sure to light a candle for all the lost electrons.


A post was split to a new topic: Conditional forwarding problem V5.2

4 posts were split to a new topic: Pi-hole won't switch to Dark Mode

3 posts were split to a new topic: Query log settings?