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

macos Internal Netbird DNS resolver uses IPv6 #2201

Closed
ez1976 opened this issue Jun 26, 2024 · 1 comment · Fixed by #2208
Closed

macos Internal Netbird DNS resolver uses IPv6 #2201

ez1976 opened this issue Jun 26, 2024 · 1 comment · Fixed by #2208
Labels
bug Something isn't working dns macos

Comments

@ez1976
Copy link

ez1976 commented Jun 26, 2024

Hi.
when not connected to netbird, the MacOS is using the regular laptop DNS and all is well.
but once connected to netbird (and IPv6 is enabled on the MAC), any requests to external resources are automatically delayed by 30 seconds.
it seems that if i do nslookup i always get the correct IP but using netbird i can see also an additional line for rdata_46).
if i run:
sudo networksetup -setv6off Ethernet
sudo networksetup -setv6off Wi-Fi

it disables the IPv6 and works right away
so it seems that the internal netbird DNS resolver is trying to query via IPv6

@mlsmaycon
Copy link
Collaborator

mlsmaycon commented Jun 26, 2024

Thanks for reporting the issue @ez1976 . I was not able to replicate the issue on 0.28.3. Can you share more information about your routing setup that might influence the DNS resolution? For instance, do you have exit node routes or DNS routes enabled?

Also, is this delay observed only in the agent startup? And having a match domain for the DNS queries you are performing helps with the issue?

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

Successfully merging a pull request may close this issue.

3 participants