XaiJu
pihole
pihole

patreon


Join us beta-testing Pi-hole FTL v5.9, Web v5.6 and Core v5.4

As always, please read through the changelog before updating to the beta versions.

Read first: Please do not run this if you are not comfortable with digging into any issues that may arise. That said, we would like to have some support in making sure we have every imaginable configuration covered before release. Pi-hole can already do so much, it is almost impossible to test all features ourselves properly.

Also ensure that you have either backed up your configuration or are willing to start from scratch in case things go wrong.

Please use the "Beta" Category on our Discourse Forum to discuss the beta and/or report any findings.

With warnings out of the way...

Highlights

Update embedded dnsmasq DNS server to version 2.86

FTL also imported the requested feature to Support Cisco Umbrella/OpenDNS Device ID & Remote IP (see FTL#1096)

Interface-dependent handling of pi.hole and hostname

This makes FTL automatically reply with the appropriate IP address to both pi.hole and the machine's hostname. Before this change, FTL always used a hard-coded address set during the weekly gravity updates (pihole -g). The new method is interface-aware and may reply with different addresses on different interfaces (e.g. Ethernet, WiFi or Wireguard network). The address FTL replies with can be overwritten using the REPLY_ADDR4/6 settings in /etc/pihole/pihole-FTL.conf.

Show automatically generated DNSSEC queries

After each restart of pihole-FTL, there will be a high number of DNSSEC-related queries (DNSKEY and DS) as the DNSSEC chain of trust needs to build for all domains queried in your network. The number of queries will quickly drop afterwards when the chain has been primed with all the top-level domains you are typically visiting. You should then only rarely see a DS query when visiting an altogether new webpage.

To ensure this new information is valuable for you, we will sketch how DNSSEC validation works in another upcoming blog post.

If you don't want to see these queries, you can easily set SHOW_DNSSEC=false in /etc/pihole/pihole-FTL.conf to suppress analyzing them altogether (they will still be happening in the background).

Update embedded SQLite engine to version 3.36

  1. Improvement to the EXPLAIN QUERY PLAN output to make it easier to understand.
  2. Byte-order marks at the start of a token are skipped as if they were whitespace.
  3. An error is raised on any attempt to access the rowid of a VIEW or subquery. Formerly, the rowid of a VIEW would be indeterminate and often would be NULL.
  4. The "memdb" VFS now allows the same in-memory database to be shared among multiple database connections in the same process as long as the database name begins with "/".
  5. Back out the EXISTS-to-IN optimization (item 8b in the SQLite 3.35.0 change log) as it was found to slow down queries more often than speed them up.
  6. Improve the constant-propagation optimization so that it works on non-join queries.
  7. The REGEXP extension is now included in CLI builds (use pihole-FTL sqlite in your terminal to access the embedded SQLite engine).

Enable .recover option for embedded SQLite engine

Exemplary use to repair a corrupted long-term database:
pihole-FTL /etc/pihole/pihole-FTL.db ".recover" | pihole-FTL ~/pihole-FTL_recovered.db

On success, the old database can be replaced by the repaired one.

Other changes and bugfixes

OK, enough reading.. how do I switch to the beta?

pihole checkout ftl release/v5.9
pihole checkout core release/v5.4
pihole checkout web release/v5.6

And, again, please use the "Beta" Category on our Discourse Forum to discuss the beta/report any findings. We'll be there to give help and update the beta quickly in case you find any errors.

Comments

Looks like, everything fine. Awesome job. Thank you


More Creators