operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

System may report to google

Open RaspberryDiff opened this issue 1 year ago • 7 comments
trafficstars

Describe the issue you are experiencing

Downloaded and imaged HAOS 11.4 for pi 4b.

Have not connected a blue cable to the pi, and journalctl -f, shows dockerd trying to resolve checkonlinehome-assistantio (markup added) from 8.8.{4.4,8.8}:53

Can HAOS not tell google i'm running it out-of-the-box? Or could this be because it does not have a dns from DHCP yet?

What operating system image do you use?

rpi4-64 (Raspberry Pi 4/400 64-bit OS)

What version of Home Assistant Operating System is installed?

11.4

Did you upgrade the Operating System.

No

Steps to reproduce the issue

  1. Image sd card
  2. Boot sd card
  3. At console after, init, altF2
  4. Run journalctl -f
  5. Observe logged entries trying to resolve via google.

Anything in the Supervisor logs that might be useful for us?

None. The system is letterally just dd'd to the sd-card.

Anything in the Host logs that might be useful for us?

None

System information

No response

Additional information

No response

RaspberryDiff avatar Jan 27 '24 02:01 RaspberryDiff

Can HAOS not tell google i'm running it out-of-the-box? Or could this be because it does not have a dns from DHCP yet?

Home Assistant should respect the DNS server provided by your DHCP.

Can you check the DNS configuration reported by nmcli?

agners avatar Jan 31 '24 11:01 agners

Hi Agners, thankyou for responding. I can confirm, no address is available on end0. I am yet to connect a network - I hope I mentioned this in the original ticket.

Do you see the dns lookup logs in journalctl when following the steps to reproduce the issue?

RaspberryDiff avatar Feb 01 '24 06:02 RaspberryDiff

Could be non-private defaults as indicated in resolved.conf ...

RaspberryDiff avatar Feb 01 '24 10:02 RaspberryDiff

Perhaps its the default in Docker?

If the container can't reach any of the IP addresses you specify, it uses Google's public DNS server at 8.8.8.8. This allows containers to resolve internet domains.

From https://docs.docker.com/network/#dns-services

freezurbern avatar Feb 05 '24 14:02 freezurbern

Much as the industry has adopted principles like 'fail-safe' and 'fail secure', perhaps the product should fail-private?

RaspberryDiff avatar Feb 10 '24 03:02 RaspberryDiff

Home Assistant should respect the DNS server provided by your DHCP.

In Fact, it does only 50%, as it has a hard-coded DNS.

At least, there seems to be possibility to disable it: https://community.home-assistant.io/t/improve-privacy-stop-using-hardcoded-dns/273496/86 https://www.home-assistant.io/more-info/unsupported/dns_server/

dafunkydan avatar Feb 10 '24 14:02 dafunkydan

There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 11 '24 05:05 github-actions[bot]