Addon containers (e.g Nodered) unable to do local/LAN DNS lookups per set DNS server

I have my HASSOS install set up with static IP including pointing to my DNS server (ha network). As well I have the DNS container also pointing to the same DNS server (ha dns). From the cli I can dig my local records and it works fine (e.g. broker.mydomain.net) so the hassos host DNS works as expected.

But if I use that same domain (broker.mydomain.net) in a nodered config node for MQTT to my broker it does not resolve, I must put in the actual IP in order to connect

Not sure if this is a nodered addon specific. I am guessing maybe it has more to do with HA’s various containers (including core) not using the DNS server set in the DNS container nor in HASSOS.

It’s a bit hazzy to me what the purpose of the DNS container is for since the host os (HASSOS) has the upstream DNS set. Is it supposed to provide DNS to other addons including core if so for me it’s not working.