-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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] DNS not working when using #2234
Comments
Additional information: Got it to working after installing |
Thanks for the update, is your issue now fully resolved? For others with DNS related issues: recent tailscale versions have a command to print the DNS status which might be helpful for debugging: |
I don't think so. The behavior I described was broken with a |
I assume that |
Same problem here when --accept-dns=true
config.yaml snippet:
status on the client:
Server run on docker headscale/headscale:0.23.0 |
Do you use an exit node? |
Yes, this problem only exists with exit node constellations. |
i have the same problem , i check the tailscale outpot ,in my client use exit node A ,controler config the router ID | Node | Prefix | Advertised | Enabled | Primary
5 | vm-0-8-ubuntu | ::/0 | true | true | -
6 | vm-0-8-ubuntu | 0.0.0.0/0 | true | true | - tailscale dns status outpput below: === 'Use Tailscale DNS' status ===
Tailscale DNS: enabled.
Tailscale is configured to handle DNS queries on this device.
Run 'tailscale set --accept-dns=false' to revert to your system default DNS resolver.
=== MagicDNS configuration ===
This is the DNS configuration provided by the coordination server to this device.
MagicDNS: enabled tailnet-wide (suffix = headscale.vitrul)
Other devices in your tailnet can reach this device at baiyz-laptop.headscale.vitrul
Resolvers (in preference order):
- 223.5.5.5
- 8.8.8.8
- 1.1.1.1
- 2400:3200::1
- 2001:4860:4860::8888
- 2606:4700:4700::1111
- 2606:4700:4700::1001
Split DNS Routes:
Search Domains:
- headscale.vitrul
=== System DNS configuration ===
This is the DNS configuration that Tailscale believes your operating system is using.
Tailscale may use this configuration if 'Override Local DNS' is disabled in the admin console,
or if no resolvers are provided by the coordination server.
Nameservers:
- 192.168.94.232
Search domains:
(no search domains found)
[this is a preliminary version of this command; the output format may change in the future] |
Is this a support request?
Is there an existing issue for this?
Current Behavior
When setting an exit-node on any client, DNS to external addresses isn't working anymore.
Steps tried:
When using public DNS, using tools like https://whatismyipaddress.com/, I can verify that I'm using the exit node as intended. I guess this is also the case when using MagicDNS, but as no public address is resolved, I can't check this right now.
Expected Behavior
DNS working regardless of usage of a exit-node
Steps To Reproduce
tailscale set --exit-node <exit-node>
Environment
Runtime environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: