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.
netplan running by default, I don't think that's the idea of managing the nameservers.