How to change DNS setting in Hassio

Hi,

When I installed my Home Assistant (Hassio on RPi 3+), I configured a static IP address and DNS server.

I need to change the DNS setting now and I’ve hunted around and not found out how this can be done.

Can anyone point me into the right direction?

Thanks
Anthony

Although not sure, but did you read this guide?

and specifically chapter 3. Set a Static IP with nmcli (optional)

Hope this helps!

1 Like

At the home assistant cli:

ha dns options --servers dns://IP_ADDRESS
ha dns restart
7 Likes

Thank you both for the super fast replies.
Much appreciated :slight_smile:

Hi, I need some help from you. My hassio seems to have issue with DNS and I can’t install any addon at all. When i check the DNS info with ha dns info, there is 8.8.8.8 and 8.8.4.4 defined under the local sections.

Can you please share your DNS info with me here so that i can confirm if mine are setting correctly?
Thanks

I am having the same issue. I don’t really understand how to set the DNS and it refuses to connect via browser if I set it to 8.8.8.8 and 8.8.4.4

1 Like

Note this should be done form Settings > System > Network now.