allowDNS doesn't work on Linux: `LinuxEthernetTap::setDns` doesn't do anything

Author: jflyCreated Jul 30, 2025Updated Aug 6, 2026

I'm trying to enable allowDNS on Ubuntu, and it's not doing anything. No changes to /etc/resolv.conf, nothing.

I dug into the code, and it looks like this is because LinuxEthernetTap::setDns simply is a no-op:

https://github.com/zerotier/ZeroTierOne/blob/185a3a2c76e6bf1b1c0415871f43076638eb007c/osdep/LinuxEthernetTap.hpp#L61

It found some threads online talking about this:

But I couldn't find any official docs talking about this, so I thought I'd ask here:

  1. Is this feature WIP, or intentionally not supported on Linux?
  2. Would you accept a PR adding some logging to LinuxEthernetTap::setDns with some explanation about the state of this? The current behavior is very confusing.