[Users] Multiple DNS servers to an Ubuntu 18.04 container

Paulo Coghi - Coghi IT paulocoghi at gmail.com
Mon Jan 27 22:57:02 MSK 2020


Valuable information! Including the part that we can remove the NAMESERVER
entry from the configuration and define inside the container by its OS way.

Thanks, Dmitry!

You can use 'vzctl set --save' instead, it still works correctly.
> ie.
>
> vzctl set $id --save --nameserver 127.0.0.1 --nameserver 8.8.8.8
>
> will configure both nameservers.
>
> or you can just remove the NAMESERVER string from the configuration
> file completely and define whatever you wish using the standard way
> for whatever OS your container is based on.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20200127/54979e1f/attachment.html>


More information about the Users mailing list