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] Tailscale Exit Node DNS Doesnt Provide DNS #2047

Closed
4 tasks done
W1BTR opened this issue Aug 9, 2024 · 3 comments · Fixed by #2034
Closed
4 tasks done

[Bug] Tailscale Exit Node DNS Doesnt Provide DNS #2047

W1BTR opened this issue Aug 9, 2024 · 3 comments · Fixed by #2034
Labels
bug Something isn't working
Milestone

Comments

@W1BTR
Copy link

W1BTR commented Aug 9, 2024

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

When connected to an exit node that is routing all traffic through said node, I cannot access the public internet as DNS does not work.

  • I can run nslookups with 1.1.1.1 and google.com and they succeed
  • I cannot ping 1.1.1.1 as it responds with a dns lookup error
  • I can access local devices and internet-connected servers via their ip address

If I disable Tailscale DNS

  • DNS works as expected, but is not under the control of headscale.

Note I am only able to test this with the exit node on windows and the client running android.

Expected Behavior

Using the tailscale dns, my headscale server should route traffic to 1.1.1.1 as is in the config.

Steps To Reproduce

  1. Set up basic headscale server
  2. set the dns servers in the config
  3. Run an exit node
  4. Connect a device to the exit node with tailscale dns enabled
  5. DNS no worky.

Environment

- OS: Windows 10 & Android
- Headscale version: 0.23.0-beta
- Tailscale version: 1.70.0

Runtime environment

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

Anything else?

No response

@W1BTR W1BTR added the bug Something isn't working label Aug 9, 2024
@kradalby
Copy link
Collaborator

Does this happen with the alpha, if it does not, I would think this is the same issue as #2026

@W1BTR
Copy link
Author

W1BTR commented Aug 11, 2024

I'm not using the custom nameservers mentioned in that issue (setting a custom ip for a domain in the headscale config), but it might be related.

Ill try in the alpha and report back this week.

@W1BTR
Copy link
Author

W1BTR commented Aug 12, 2024

Can confirm, alpha-12 does not have this issue.

@kradalby kradalby added this to the v0.23.0 milestone Aug 16, 2024
@kradalby kradalby mentioned this issue Aug 16, 2024
4 tasks
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.

2 participants