FTL regression: conditional domain forwarding breaks default DNS routing and falsifies query log

Hi all,

I’m opening this topic as a follow-up to this closed GitHub issue:
https://github.com/pi-hole/FTL/issues/1487

The issue was closed prematurely despite presenting a critical bug:

When a conditional domain is matched even once, all future queries are silently forwarded to that conditional’s upstream, bypassing the default DNS. The query log continues to falsely report that the default DNS is in use, making this failure very hard to detect.

This happens even with a single conditional domain and a single upstream. Once matched, it silently takes over all future DNS queries. It is reproducible, tested with Pi-hole Nightly, and includes verbose logs and diagnostics in the original GitHub thread.

The GitHub issue was dismissed without addressing the core problem, with the rationale that the author used an LLM for wording and that maintainers are volunteers—neither of which are valid grounds to ignore a clearly demonstrated bug.

I personally invested days diagnosing this and even set up Nightly versions per the maintainer’s request. I was never informed that the config system had changed and that dnsmasq.d was no longer applied unless manually enabled. I had to discover this myself after wasting hours debugging why nothing was taking effect. I also identified the specific behavioral shift in query routing and logging—none of this was acknowledged.

This is a serious security and integrity issue that misrepresents what DNS servers are actually used while breaking expected routing behavior. It deserves a full review, not a dismissal based on process.

Please review the original report and reopen the issue, or provide a formal explanation for the intended behavior. The bug, as documented, is easy to replicate and severe in scope.

Thanks.

The link posted above is not pointing to any Github issue. It points to a PR, completely unrelated to any issue.

Can you please add the correct link?

I believe they mean Critical Bug: After FTL Queries First Per-Domain Upstream , FTL Sticks to it for All Client Queries, Ignoring Default DNS · Issue #2169 · pi-hole/FTL · GitHub , with the walls of llm generated text, that ultimately descended into abusive territory.

If OP had actually read any of the responses they were given (or even read any the responses they were giving....) they would have seen that code was written by @DL6ER to attempt a fix and all they needed to do was to test it.

Instead they just chucked walls of ai generated nonsense at us.

Untill proven otherwise, they're a time wasting troll.

2 Likes