Can't resolve hostnames on Hass.io

I can’t get any hostnames on my network to resolve to their IP from my Hass.io install. I’ve found a few topics including Name resolution problem since 0.97.2 and an issue on GitHub. Both offer solutions which I’ve tried and detailed out below. But still, I can’t resolve any hostname. When I try to resolve a hostname on my laptop or phone, it works perfectly.

My router is OpenWRT and is running dnsmasq and automatically resolves local hostnames with a local TLD.

What I’ve done so far

~ hassio dns options --servers dns://192.168.0.1

~ hassio dns info
host: 172.30.32.3
latest_version: "1"
locals:
- dns://8.8.8.8
- dns://8.8.4.4
- dns://fdb5:9091:4587::1
servers:
- dns://192.168.0.1
version: "1"

~ ping firetv-livingroom.lan
ping: bad address 'firetv-livingroom.lan'

➜  ~ ping 192.168.0.243
PING 192.168.0.243 (192.168.0.243): 56 data bytes
64 bytes from 192.168.0.243: seq=0 ttl=64 time=135.661 ms
64 bytes from 192.168.0.243: seq=1 ttl=64 time=1.483 ms

I’m on Hass.io supervisor 193, HassOS 2.12 and HomeAssitant 0.103.5.

1 Like

Don’t forget the hassio dns restart after you changed the hassio dns options.

I’ve run hassio dns restart and restarted the entire HomeAssistant container but still no luck.