How to change DNS setting in Hassio


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?


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

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 and 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?

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 and

1 Like

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