Open vipial1 opened 2 years ago
I had the same issue today.
Found it suspicious that the servers
list is empty.
The workaround for me was to run ha dns options --servers dns://9.9.9.9
(replace with your DNS provider of choice).
Now there is an entry in the servers
list and resolving works again.
Since my HA updated the dns plugin to version 2022.04.1, most of integrations (that require Internet) are failing due to names not being resolved.
As example, HomeConnect integration logs:
The issue is resolved simply by downgrading to previous version:
ha dns downgrade --version 2022.2.0
But after a few hours, HA detects that there is a new version available, it is upgraded to 2022.04.1 and then it starts to fail again.
This is my current dns config (everything is standard):
DNS logs doesn't show anything prompting the error.
The only strange thing that I can observe, is that when DNS are not resolved, nslookup shows strange characters in the response, like a bad encoding (I don't have any example right now, since it is working fine now, will fail again in a few hours).