Skip to content

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

Description

@jfly

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:

virtual void setDns(const char *domain, const std::vector<InetAddress> &servers) {}

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions