[Users] Multiple DNS servers to an Ubuntu 18.04 container

Paulo Coghi - Coghi IT paulocoghi at gmail.com
Mon Jan 27 19:33:29 MSK 2020


Hello OpenVZ community,

I configured an Ubuntu 18.04 container and everything is fine, except that
I can't define multiple DNS servers.

My server need one nameserver to resolve external addresses and one
internal (127.0.0.1) because it's a DNS server through Bind.

I tried `prlctl set MyCT --nameserver x.x.x.x y.y.y.y` but it doesn't
accept multiple parameters.

Also, tried adding two NAMESERVER lines on the container's ve.conf, but
only the last one is applied.


Thanks!

Paulo Coghi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20200127/629486fe/attachment.html>


More information about the Users mailing list