Remove use_username_in_magic_dns option

Upgrade the use of dns.use_username_in_magic_dns or
dns_config.use_username_in_magic_dns to a fatal error and remove the
option from the example configuration and integration tests.

Fixes: #2219
This commit is contained in:
Florian Preinstorfer 2024-12-11 14:33:44 +01:00 committed by nblock
parent 697d80d5a8
commit 89a648c7dd
7 changed files with 5 additions and 21 deletions

View file

@ -76,7 +76,7 @@ This will also affect the way you [reference users in policies](https://github.c
### BREAKING
- Remove `dns.use_username_in_magic_dns` configuration option [#2020](https://github.com/juanfont/headscale/pull/2020)
- Remove `dns.use_username_in_magic_dns` configuration option [#2020](https://github.com/juanfont/headscale/pull/2020), [#2279](https://github.com/juanfont/headscale/pull/2279)
- Having usernames in magic DNS is no longer possible.
- Remove versions older than 1.56 [#2149](https://github.com/juanfont/headscale/pull/2149)
- Clean up old code required by old versions