Update: I have now set up pihole and am using that as a dns server. The pi (running flowfuse) is routed through it plus the mac I'm using. I'm still getting the error.
You can not use /etc/hosts because the Node-RED instances in the container all need to be able to resolve the hostname of the FlowFuse application to it's external IP address and they can not read the host machines /etc/hosts file
DNS is required for FlowFuse on Docker and Kubernetes, there is no way to avoid it.
You will need to add some more details about how you have configured the PiHole for us to be able to help.
Assuming you are still using example.com as the domain, you need to ensure that ANY hostname in that domain resolves to the IP address of the Raspberry Pi. e.g assuming the Pi has IP address 192.168.1.1 then all of the following need to resolve to that address:
I have persisted. FF is running on a rasbperry pi. I have set the DNS of the pi to point at pihole (on the same machine) as its dns. When I run "dig anything.example.com" I get the same IP address (which is the server ff is running on), so it's all working.
However I'm still getting the same error. Any other ideas on anything I could try?