hassio-addons / repository

Home Assistant Community Add-ons
https://addons.community
MIT License
1.16k stars 504 forks source link

Failure with Tailscale integration and DNS resolving #619

Closed kernelb00t closed 1 month ago

kernelb00t commented 1 month ago

With latest versions of HA, HAOS, HACS and this addon, in a Proxmox VE server, the Tailscale addon with user space networking disabled can't set itself as the DNS resolver for at least the tailnet's domain. It seems that Tailscale and network manager never talks between them from what I can see in /etc/resolv.conf within the Terminal & SSH addon. I can access HA through Tailscale but HA can't resolve any address of the tailnet. For example, I can't connect to the NUT server running on the Proxmox host via Tailscale, whereas on my computer I can contact and retrieve information from it.

Expected behaviour : When on HA Cli, after typing login, ping proxmox.my-tailnet.ts.net. The command has no errors. When in the Terminal addon, try to ping the same host. The command should work. When setting up an integration/addon, putting a Tailscale domain or IP address should cause no errors.

When I was in my logs, I saw that Tailscale couldn't rename the /etc/resolv.conf file to /etc/resolve.pre-tailscale.conf (or a name like that), due to the file system being RO. I was not able to make a screenshot/copy the logs.

kernelb00t commented 1 month ago

Wrong repo, actual issue: https://github.com/hassio-addons/addon-tailscale/issues/376#issue-2329390215