Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Latest config example contains deprecated key #2219

Open
2 of 4 tasks
sevenrats opened this issue Nov 1, 2024 · 3 comments
Open
2 of 4 tasks

[Bug] Latest config example contains deprecated key #2219

sevenrats opened this issue Nov 1, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sevenrats
Copy link

Is this a support request?

  • This is not a support request

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

current conf example does not match latest spec

Expected Behavior

match the latest spec

Steps To Reproduce

use the example conf file. it has a deprecated key.

Environment

latest bookworm

Runtime environment

  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

Anything else?

No response

@sevenrats sevenrats added the bug Something isn't working label Nov 1, 2024
@kradalby
Copy link
Collaborator

Sorry, can you elaborate on which key is wrong?

@teleclimber
Copy link

Not the OP but if I were to guess: they are seeing this in their logs:

WARN: The "dns.use_username_in_magic_dns" configuration key is deprecated and has been removed. Please see the changelog...

Which presumably is due to the key being explicitly set to false in the current default config:

  # DEPRECATED
  # Use the username as part of the DNS name for nodes, with this option enabled:
  # node1.username.example.com
  # while when this is disabled:
  # node1.example.com
  # This is a legacy option as Headscale has have this wrongly implemented
  # while in upstream Tailscale, the username is not included.
  use_username_in_magic_dns: false

@sevenrats
Copy link
Author

iirc there were one or three I had to fix to get main working. sorry for incomplete report, I think I intended to self-assign when I opened this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants