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] 0.23.0-beta1 breaks DNS custom nameservers #2026

Closed
4 tasks done
MitchTalmadge opened this issue Jul 23, 2024 · 4 comments · Fixed by #2034
Closed
4 tasks done

[Bug] 0.23.0-beta1 breaks DNS custom nameservers #2026

MitchTalmadge opened this issue Jul 23, 2024 · 4 comments · Fixed by #2034
Labels
bug Something isn't working
Milestone

Comments

@MitchTalmadge
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

After upgrading from 0.23.0-alpha12 to 0.23.0-beta1, with no other changes at all, queries made to 100.100.100.100 which should use a listed nameserver give status: NXDOMAIN.

image

Expected Behavior

Queries should return results from the nameservers

image

Steps To Reproduce

I use the following DNS config:

dns_config:
  override_local_dns: true
  nameservers:
    - 100.64.0.6
  restricted_nameservers:
    foo.bar: # Redacted
      - 100.64.0.2
    baz.foo: # Redacted
      - 100.64.0.2
  domains: []
  magic_dns: true
  base_domain: lorem.ipsum # Redacted

On alpha9, 10, 11, and 12, it works fine. On beta1, it fails.

Environment

- OS: Unraid 6.12.10, running Docker 24.0.9
- Headscale version: 0.23.0-beta1
- Tailscale version: 1.70.0 on MacOS Sonoma

Runtime environment

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

Anything else?

No response

@MitchTalmadge MitchTalmadge added the bug Something isn't working label Jul 23, 2024
@badsmoke
Copy link

hey a workaround is to add these domains in addition to the injecded config.

  # Search domains to inject.
  domains: [foo.bar, baz.fooz]
  
```

@kradalby
Copy link
Collaborator

I've started on #2034, with some background on this mess up, would be keen to hear thoughts.

@kradalby
Copy link
Collaborator

kradalby commented Aug 1, 2024

I think #2034 addresses this, would it be possible for you to help me test it? would be great to avoid another bad release like beta1.

Binary is available here: https://github.com/juanfont/headscale/actions/runs/10195837541?pr=2034

@kradalby kradalby added this to the v0.23.0 milestone Aug 2, 2024
@MitchTalmadge
Copy link
Author

Hey thank you for making a fix for this. I haven't had time to try it yet. I hope to find time soon. Thanks again

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

Successfully merging a pull request may close this issue.

3 participants