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

fix search domains and remove username from magicdns #1987

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

kradalby
Copy link
Collaborator

@kradalby kradalby commented Jun 20, 2024

This commit fixes an issue where search domains was ignored
if the user has not configured any external resolvers. Based
on tailscale's documentation, there is no mention of this
behaviour as far as I can see:
https://tailscale.com/kb/1054/dns#search-domains

In addition, it does add the missing base domain to the
search domain.

and

This commit removes the username from magicDNS names.
This is in preparation of fixing tags, which currently is
not correctly disassociated from users when added. With the
current behaviour, fixing tagged devices would break the
MagicDNS behaviour.

This brings headscale to use the same behaviour of tailscale.

Fixes #1963
Updates #1369

This commit fixes an issue where search domains was ignored
if the user has not configured any external resolvers. Based
on tailscale's documentation, there is no mention of this
behaviour as far as I can see:
https://tailscale.com/kb/1054/dns#search-domains

In addition, it does add the missing base domain to the
search domain.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit removes the username from magicDNS names.
This is in preparation of fixing tags, which currently is
not correctly disassociated from users when added. With the
current behaviour, fixing tagged devices would break the
MagicDNS behaviour.

This brings headscale to use the same behaviour of tailscale.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
@kradalby kradalby force-pushed the kradalby/1963-domains-override branch from 5ef10ca to 8dfa1d3 Compare June 21, 2024 12:07
@kradalby kradalby merged commit 14a3f94 into juanfont:main Jun 26, 2024
103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] dns_config.domains only works if override_local_dns is enabled
2 participants