<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>In the ve.conf file the entries can be on the same line separated
by spaces. Ex:<br>
<br>
NAMESERVER="127.0.0.1 8.8.8.8"</p>
<p>I believe to do it on command line you can pass --nameserver
multiple times.<br>
</p>
<div class="moz-cite-prefix">On 1/27/20 10:33 AM, Paulo Coghi -
Coghi IT wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADZgedrsaXv0SB1A6mZRKQjJNE6zOz4rWp_ZdfF6HtFjJtD_vQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hello OpenVZ community,<br>
<br>
</div>
I configured an Ubuntu 18.04 container and everything
is fine, except that I can't define multiple DNS
servers.<br>
<br>
</div>
My server need one nameserver to resolve external
addresses and one internal (127.0.0.1) because it's a
DNS server through Bind.<br>
<br>
</div>
I tried `prlctl set MyCT --nameserver x.x.x.x y.y.y.y` but
it doesn't accept multiple parameters.<br>
<br>
</div>
Also, tried adding two NAMESERVER lines on the container's
ve.conf, but only the last one is applied.<br>
<br>
<br>
</div>
Thanks!<br>
<br>
</div>
Paulo Coghi<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Jonathan Wright
KnownHost, LLC
<a class="moz-txt-link-freetext" href="https://www.knownhost.com">https://www.knownhost.com</a></pre>
</body>
</html>