<div dir="ltr"><div><div><div><div><div>Ďakujem Peter, but this doesn&#39;t seem to work in my case.<br></div>/etc/resolv.conf is regenerated by Network Manager after a reboot and my domain settings are lost.<br></div>Your comments regarding the reliance on DNS make sense for most installations, but in my case oVirt is a secondary service that I would not expect to run unless our core infrastructure is working correctly.<br>I&#39;m hesitant to edit /etc/hosts directly, since that can lead to confusion when the underlying IP addresses change.<br></div>For now I will hardcode the IPs of my servers.<br></div>It&#39;s frustrating (and surprising) that there is not an easy way to do this.<br><br></div>Kirin.<br><div><div><div><div><div><div><br>On Thu, Mar 15, 2018 at 5:17 PM, Peter Hudec <span dir="ltr">&lt;<a href="mailto:phudec@cnc.sk" target="_blank">phudec@cnc.sk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Kirin,<br>
<br>
I suggest to do it old way and edit the /etc/resolv.conf manually.<br>
<br>
And one advice. Do not relay on the DNS on infrastructure servers. Use<br>
/etc/hosts. If he DNS will not be accessible, you will have problem to<br>
put it infrastructure up/working. As side effect the hosts allow you<br>
to use short names to access servers.<br>
<br>
If you are ansible positive, you could use<br>
<br>
hudecof.resolv  <a href="https://galaxy.ansible.com/hudecof/resolv/" rel="noreferrer" target="_blank">https://galaxy.ansible.com/<wbr>hudecof/resolv/</a><br>
hudecof.hosts   <a href="https://galaxy.ansible.com/hudecof/hosts/" rel="noreferrer" target="_blank">https://galaxy.ansible.com/<wbr>hudecof/hosts/</a><br>
<br>
<br>
        Peter<br>
<br>
On 15/03/2018 06:03, Kirin van der Veer wrote:<br>
&gt; Hi oVirt people, I have setup a new cluster consisting of many<br>
&gt; oVirt Nodes with a single dedicated oVirt Engine machine. For the<br>
&gt; most part things are working, however despite entering the DNS<br>
&gt; search domain during install on the Nodes the management interface<br>
&gt; is not aware of my search domain and it has not been added to<br>
&gt; /etc/resolv.conf (perhaps that is unnecessary?). I eventually<br>
&gt; worked out that the DNS search domain should be included in<br>
&gt; /etc/sysconfig/network-<wbr>scripts/ifcfg-ovirtmgmt However as per the<br>
&gt; header/warning, that file is generated by VDSM. I assumed that I<br>
&gt; should be able to edit the search domain with vdsClient, but when I<br>
&gt; run &quot;vdsClient -m&quot; I don&#39;t see any options related to network<br>
&gt; config. I found the following page on DNS config:<br>
&gt; <a href="https://www.ovirt.org/develop/release-management/features/network/allowExplicitDnsConfiguration/" rel="noreferrer" target="_blank">https://www.ovirt.org/develop/<wbr>release-management/features/<wbr>network/<wbr>allowExplicitDnsConfiguration/</a><br>
&gt;<br>
&gt;<br>
But it does not seem to offer a way of specifying the DNS search domain<br>
&gt; (other than perhaps directly editing /etc/resolv.conf - which is<br>
&gt; generated/managed by Network Manager). nmcli reports that all of my<br>
&gt; interfaces (including ovirtmgmt) are &quot;unmanaged&quot;. Indeed when I<br>
&gt; attempt to run nmtui there is nothing listed to configure. This<br>
&gt; should be really simple! I just want to add my local search domain<br>
&gt; so I can use the short name for my NFS server. I&#39;d appreciate any<br>
&gt; advice.<br>
&gt;<br>
&gt; Thanks in advance, Kirin.<br>
&gt;<br>
&gt;<br>
&gt; .<br>
&gt;<br>
&gt; *IMPORTANT NOTE. *If you are NOT AN AUTHORISED RECIPIENT of this<br>
&gt; e-mail, please contact Planet Innovation Pty Ltd by return e-mail<br>
&gt; or by telephone on <a href="tel:%2B613%209945%207510" value="+61399457510">+613 9945 7510</a>.  In this case, you should not<br>
&gt; read, print, re-transmit, store or act in reliance on this e-mail<br>
&gt; or any attachments, and should destroy all copies of them.  This<br>
&gt; e-mail and any attachments are confidential and may contain legally<br>
&gt; privileged information and/or copyright material of Planet<br>
&gt; Innovation Pty Ltd or third parties.  You should only re-transmit,<br>
&gt; distribute or commercialise the material if you are authorised to<br>
&gt; do so.  Although we use virus scanning software, we deny all<br>
&gt; liability for viruses or alike in any message or attachment. This<br>
&gt; notice should not be removed.<br>
&gt;<br>
&gt; **<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________ Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
&gt;<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
--<br>
*Peter Hudec*<br>
Infraštruktúrny architekt<br>
<a href="mailto:phudec@cnc.sk">phudec@cnc.sk</a> &lt;mailto:<a href="mailto:phudec@cnc.sk">phudec@cnc.sk</a>&gt;<br>
<br>
*CNC, a.s.*<br>
Borská 6, 841 04 Bratislava<br>
Recepcia: <a href="tel:%2B421%202%20%2035%20000%20100" value="+421235000100">+421 2  35 000 100</a><br>
<br>
Mobil:<a href="tel:%2B421%20905%20997%20203" value="+421905997203">+421 905 997 203</a><br>
*<a href="http://www.cnc.sk" rel="noreferrer" target="_blank">www.cnc.sk</a>* &lt;http:///<a href="http://www.cnc.sk" rel="noreferrer" target="_blank">www.cnc.sk</a>&gt;</font></span></blockquote><br></div></div></div></div></div></div></div>

<br>


<p style="text-align:justify;font-family:Arial"><b><span style="font-size:8.0pt;letter-spacing:-.15pt">IMPORTANT
NOTE. </span></b><span style="font-size:8.0pt;letter-spacing:-.15pt">If you are
NOT AN AUTHORISED RECIPIENT of this e-mail, please contact Planet Innovation Pty
Ltd by return e-mail or by telephone on +613 9945 7510.  In this case, you
should not read, print, re-transmit, store or act in reliance on this e-mail or
any attachments, and should destroy all copies of them.  This e-mail and
any attachments are confidential and may contain legally privileged information
and/or copyright material of Planet Innovation Pty Ltd or third parties. 
You should only re-transmit, distribute or commercialise the material if you
are authorised to do so.  Although we use virus scanning software, we deny
all liability for viruses or alike in any message or attachment. This
notice should not be removed.</span></p>

<b style="font-family:Arial"><span style="font-size:10pt;color:rgb(0,176,80)" lang="EN-US"></span><span style="font-size:9pt;color:rgb(0,176,80)" lang="EN-US"></span></b>