Terminal not using gateway

I am having a problem with the Terminal & SSH addon, but first my configuration. Home Assistant is on a VLAN with other devices. Most of the IoT devices are on a separate VLAN. Hass has a fixed IP address of 192.168.10.2 with its gateway being 192.168.10.1. I have a local DNS server. containing entries for all local devices on all VLANs. Within Terminal, I can ping a device on the same VLAN using its name, but I cannot ping devices on other VLANs. I can ping all VLANs’ devices using their IP addresses. When I do an nslookup on a device on the same VLAN, it finds the device however, it is not using the gateway DNS server but rather a server at 127.0.0.11#53. Needless to say, this DNS server does not know about devices on other VLANs. How can I force Hass to use my DNS server for name resolution rather than its own?

Hello ,
Segmented networks are not officially supported within HA.

HA is designed and expects a flat subnet to work as intended.
That means you may be on your own with this one…
Consider this… The enterprise smart home syndrome