<div dir="ltr"><div>Thanks! The format NAMESERVER="x.x.x.x y.y.y.y" on ve.conf works!<br></div><div><br>Just to mention, multiple --nameserver parameters only add one nameserver (the last one, if I remember correctly).<br><br></div><div>So, is there a way through the command line to define multiple nameservers?<br><br><br></div><div>Thanks again!<br></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<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><br>
</div>
<blockquote type="cite">
<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></blockquote></div></blockquote></div></div>