mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-25 11:05:29 +00:00
c6336adb01
* config: loosen up BaseDomain and ServerURL checks Requirements [here][1]: > OK: > server_url: headscale.com, base: clients.headscale.com > server_url: headscale.com, base: headscale.net > > Not OK: > server_url: server.headscale.com, base: headscale.com > > Essentially we have to prevent the possibility where the headscale > server has a URL which can also be assigned to a node. > > So for the Not OK scenario: > > if the server is: server.headscale.com, and a node joins with the name > server, it will be assigned server.headscale.com and that will break > the connection for nodes which will now try to connect to that node > instead of the headscale server. Fixes #2210 [1]: https://github.com/juanfont/headscale/issues/2210#issuecomment-2488165187 * server_url and base_domain: re-word error message, fix a one-off bug and add a test case for the bug. * lint * lint again |
||
---|---|---|
.. | ||
base-domain-in-server-url.yaml | ||
base-domain-not-in-server-url.yaml | ||
dns_full_no_magic.yaml | ||
dns_full.yaml | ||
minimal.yaml | ||
policy-path-is-loaded.yaml |