Hi:
I am using AdGuard Complement as DNS server for my home, so I have many dns rewrites in order to access some local services with https.
For example: I use https://jellyfin.mydomain.com. In adguard I have that subdomain redirected to the internal IP (e.g. 192.168.1.200). And in the server (192.168.1.200) i have Nginx Proxy Manager configured to redirect all incoming traffic from https://jellyfin.mydomain.com to a docker container and a port. In nginx proxy manager I have configured https using cloudflare challenge.
Ok, all of this works.
The problem is that now I want to make an api call from home assistant or Nodered to one of this internal services (in this case: https://gotify.mydomain.com), but home assistant and nodered cannot resolve the address.
I have configured as dns server the IP of the HA host, but it seems as it is ignoring it.
I have used dig +trace and it seems that it is not using adguard redirections.
In fact, in adguard, HA IP only shows this query, but no otherone, despite it is connected to the internet and to many cloud services:
checkonline.home-assistant.io
I have been strugling with this problem two days and I cannot find the solution.
I would apreciate any help you can offer.
Thanks