The fix many have mentioned worked for me until a reboot. What I did was a combination of multiple fixes.
First, issue this command:
hassio dns options --servers dns://x.x.x.x
Then I downgraded the supervisor to the previous working version with this command:
hassio supervisor update --version=173
To prevent the supervisor from auto-updating on reboot, I went into my router and blocked outbound internet traffic for the device’s mac address.
That caused my internet based integrations to fail, so I added firewall rules to allow those particular IP addresses to work.
Everything is working wonderfully now, but it’s only a bandaid.
I’ve done 3 full reboots now and my corefile with the dns server I added via the command has been retained. No idea why you are losing yours. It’s stored in a persistent area of the disk…
Anyone know when the fix will be out, I’m still getting random DNS results for what should be internal devices, sometimes internal IPs sometimes incorrect external IPs
hassio dns restart
The dns command allows you to manage the internal Hass.io DNS server by
exposing commands to view, monitor, configure and control it.
Usage:
hassio dns [command]
Examples:
hassio dns logs
hassio dns info
hassio dns update
Available Commands:
info Shows information about the internal Hass.io DNS server
logs View the log output of the Hass.io DNS server
options Allow to set options for the internal Hass.io DNS server
stats Provides system usage stats of the Hass.io DNS server
update Updates the internal Hass.io DNS server
Hi, i’ve updated to the latest hassio supervisor 180, but my local hostnames are still not resolved. It should get my router IP as the first DNS server from DHCP, but it seems it doesn’t ?
that would seem quite normal to honor the DNS returned by the DHCP. Fiddling with commands to setup something that everyone seems to expect as default is a bit counter-intuitive
I give up. Sorry but I’ve lost confidence in this platform, although I appreciate your attempts to fix this I don’t really enjoy spending my valuable weekends looking for problems caused by an auto update that I have no control over. It’s just fortunate that it was this weekend, had it been last weekend I would have been away for a week with a broken system that should have been in vacation mode, this is why I want to control when things update.