Lyrion Music Server (LMS) and Pi-hole apps

The LMS app on TrueNAS was running, and resolving DNS via the router, with the router pointed at external DNS servers.

With my router pointed instead at the TrueNAS for DNS via Pi-hole, LMS is unable to resolve DNS.

All other apps on the TrueNAS can resolve DNS (via the router pointed at TrueNAS).

Another installation of LMS, on an Ubuntu server on the same network, can resolve DNS (via the router pointed at Pi-hole on the TrueNAS).

Can anyone provide any hints regarding what the problem may be, what to consider?

TIA

(TrueNAS 25.04.2.6)