On Wed, Mar 16, 2016 at 4:10 PM, Michael Scherer <msche...@redhat.com> wrote: > Le mercredi 16 mars 2016 à 11:23 +0100, Michael Scherer a écrit : >> Le mercredi 16 mars 2016 à 10:51 +0100, Niels de Vos a écrit : >> > On Wed, Mar 16, 2016 at 11:54:00AM +0530, Kaushal M wrote: >> > > This is fixed now. >> > > >> > > This had happened previously when we migrated Gerrit. By default, the >> > > nameserver of the Jenkins VM is set to its hypervisor. The hypervisor >> > > is configured to return the local IP for the old gerrit VM that was >> > > also running on it. >> > > I've updated the nameserver to use the Google DNS server, as I'd done >> > > before. Now I need to find a way to make this permanent, and with >> > > stand reboots. >> > >> > Add the nameserver to /etc/sysconfig/network ? IIRC the valid options >> > for this file are stored in the /usr/share/doc files from the sysvinit >> > package. >> >> For now, we have 127.0.0.1 on >> # grep DNS /etc/sysconfig/network-scripts/ifcfg-eth0 >> DNS1="127.0.0.1" >> >> we can add DNS2="8.8.8.8". >> >> IIRC, we tried to use a local resolver to see if that could solve the >> network problem, but it didn't work. > > I also added PEERDNS="no", to disable the dns given by dhcp (ie, the > libvirt host)
This is something new I learnt today! Didn't know the changes in /etc/sysconfig/network-scripts had effect with NetworkManager. > > > -- > Michael Scherer > Sysadmin, Community Infrastructure and Platform, OSAS > > > > _______________________________________________ > Gluster-infra mailing list > Gluster-infra@gluster.org > http://www.gluster.org/mailman/listinfo/gluster-infra _______________________________________________ Gluster-infra mailing list Gluster-infra@gluster.org http://www.gluster.org/mailman/listinfo/gluster-infra