[HAOS] DNS issues - cannot ping any external addresses

Greetings!

The issue that I’m facing is for HAOS.

I am struggling to get Ewelink Addon, TTS and some other stuff to execute requests. I suspect this might be DNS issue, since I have also VirtualBox installation and there the Ewelink & TTS are working. Via terminal, pinging addresses like google.com gives me the response bad address:

I’ve read articles and I tried the following:

  • Disabling IPv6
  • Disabling AdGuard
  • Changing DNS from one provided by the router (which fallbacks to the HAOS machine local IP) to 8.8.8.8
  • Executing:
    ha dns options --servers dns://1.1.1.1
    ha dns restart

(DNS issue: unable to connect to raw.githubusercontent.com?)

Any help will be much appreciated. From my point of view the issue was present out of the box with fresh installation. I thought that it might be resolved via an update, now I think, this will not be the case.

I managed to resolve it altering the DNS in /etc/resolv.conf to 8.8.8.8. Initially it was 127.0.0.11 and I never configured it to this value.