I previously posted an issue with lack of CNAME records for use with my reverse proxy but didn't see a solution.
I managed to solve it using a wildcard domain DNS entry based on the
solution on the UI community forums.
Note that the above assumes the gateway IP is 192.168.1.1 (mine is not). Also, I got an error using MongoDB Compass, so had to pick an older version that supported the version on the gateway, which must be outdated. Version 1.27.0 worked for me (
available from GitHub releases). Note, when you edit the database, you need to make sure you press update for the record. You can confirm by refreshing the data or repeating steps once connected 2 &3.
This allowed me to use the services on my home server again via reverse proxy, removing the need to run a separate DNS server. However, may still need that as the UniFi ad blocking is not 100%. Will continue to monitor that.