On Thu, Sep 13, 2018 at 7:53 AM Edward Haas <ehaas@redhat.com> wrote:


On Mon, Sep 10, 2018 at 5:53 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
Hello,
supposing to have ovirt-ng node 4.2.6 and that ovirtmgmt config regarding DNS servers has to be updated, what is the correct way to proceed?

DNS should be editable from the network attachment window.

Thanks for your answer Edward.
What do you mean with "network attachment window"? 
a) Network > Networks, then select ovirtmgmt line and edit, putting DNS info (that is empty right now)
or
b) Compute > Hosts, then select host1 line, click on host1 name, then Network Interfaces and Setup Host Networks. then edit ovirtmgmt > DNS Configuration (that is empty right now)  
or what?
In my case they are both empty, but when I installed hosts I configured them
   
They are applied only for the network which "owns" the default-route for that host.

This is typically ovirtmgmt network, as in my case, I think. 
 
The values are added through ifcfg, therefore its logic of adding it to resolv.conf is used.

I have also opened a case for another environment where I'm using RHV-H hosts, that should be quite similar to ovirt-node-ng
In that environment one of the original M$ based dns server was changed (that was the one I had as primary) creating some latency problems.
Using setup host networks generated big problems, especially if doing on the host where hosted engine was running.
I verified that a safe way to modify DNS config is:
- evacuate VMs from host 
- put host into maintenance 
- change dns settings in setup host networks 
- reboot the host 
- activate the host

This way the "persistent" files are initially updated and then at the reboot the ifcfg and resolv.conf files are correctly updated
If you are interested my case is 02179117

Also in that environment the config pages (hosts and logical network of cluster) had empty DNS entries....

I have not understood if the hosts in "setup host network" (and also ovirtmgmt logical network) having empty DNS config is a bug or it's me not understanding the workflow when adding a host to the oVirt environment.

Gianluca