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

Client nodes can't access DNS #198

Closed
anthonyma94 opened this issue Oct 13, 2022 · 8 comments
Closed

Client nodes can't access DNS #198

anthonyma94 opened this issue Oct 13, 2022 · 8 comments

Comments

@anthonyma94
Copy link

I have zeronsd installed on a parent server and it can access all nodes within its network via DNS. However, the children nodes cannot access each other with DNS. Am I supposed to install zeronsd on every client?

@laduke
Copy link
Contributor

laduke commented Oct 13, 2022

Am I supposed to install zeronsd on every client?

No

Did you enable allowDNS on your clients?

https://docs.zerotier.com/zeronsd/quickstart#install-zerotier

@laduke
Copy link
Contributor

laduke commented Oct 14, 2022

Closing because probably not a zeronsd issue. Let us know if it is, or if we can improve the docs.

@laduke laduke closed this as completed Oct 14, 2022
@anthonyma94
Copy link
Author

Yes it is, all of my clients have allowDNS=1 on the network.

@laduke
Copy link
Contributor

laduke commented Oct 17, 2022

Ok. What operating system are the clients? How are you testing DNS?
Check the firewall rules on the DNS server.

@anthonyma94
Copy link
Author

They are almost all pis running Raspberry Pi OS (Debian 11), with 1 windows laptop. They have their firewalls disabled. I don't change any network settings except joining the ZeroTier network and setting allowDNS=1. I try to ping using the DNS address, ping testing-pi.iot.local, and iot.local is set in the network as the domain.

@laduke
Copy link
Contributor

laduke commented Oct 20, 2022

Should work on Windows. Linux needs more configuration to know about the DNS server. https://github.com/zerotier/zeronsd#per-interface-dns-resolution

@anthonyma94
Copy link
Author

anthonyma94 commented Oct 22, 2022

So I need to install zeronsd-systemd-manager on each Linux node, but not zeronsd?

I can also confirm Windows does not work with zeronsd. I've setup the network as allowDNS=1.

@glimberg
Copy link
Contributor

Correct. ZeroNSD is a DNS server. zerotier-systemd-manager is what configures the DNS settings on Linux systems.

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

No branches or pull requests

3 participants