I'm currently on an Ubuntu 18.04 Server. From within a network namespace I run a dhclient process and I do get the IP address and route fine, but somehow the DNS server doesn't seem to get saved anywhere.

What would be the proper way to get this to work?

When creating a file at /etc/netns/<namespace name>/resolv.conf, it gets mapped properly into the namespace, but dhclient doesn't seem to write to it.

Also with netplan running by default, I don't think that's the idea of managing the nameservers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.