Hey everyone,
I have an HA instance running on docker with grafana plugin. Since I cannot use influxDB for reasons, I created a separate Prometheus instance on the same host hosting HA, amended DNS entries for the Prometheus instance (pointing to the hassio-dns, search options, etc) and connected it on the hassio bridge.
I later realized coredns shipped with HA does not actually see it, and the host config for DNS seems to be /usr/share/hassio/dns/hosts
, which definitely gets mounted on coredns docker instance …
"Binds": [
"/usr/share/hassio/dns:/config:rw"
]
Modifying it to account for Prometheus’ host->ip and restarting hassio-dns through cli seems to work just fine, but changes ofc do get lost upon restart. I’m imagining the dns host->IP mappings get dynamically generated, is there however a way to add a hostname/service added manually to the hassio bridge to coredns’ resolution?
Thanks