On one server , I added these two line in the /etc/network/interface
dns-nameservers 192.168.1.1
dns-search tychecloud.lan
Is it works
Of the two other servers , I brought the same changes I restarts the network and the problem is unresolved !!!
loss of data resolv.conf !!!
root@pve-ceph3:/home/moula# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug eth1
auto eth1
iface eth1 inet manual
broadcast 192.168.1.255
network 192.168.1.0
dns-nameservers 192.168.1.1
dns-search tychecloud.lan
# dns-* options are implemented by the resolvconf package, if installed
auto eth0
iface eth0 inet manual
auto eth2
iface eth2 inet manual
auto eth3
iface eth3 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.30
netmask 255.255.255.0
gateway 192.168.1.254
bridge_ports eth1
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
root@pve-ceph3:/home/moula# date
mercredi 20 avril 2016, 11:49:34 (UTC+0200)
root@pve-ceph3:/home/moula# cat /etc/resolv.conf
search tychecloud.lan
nameserver 192.168.1.1
nameserver 192.168.1.2
nameserver 192.168.1.254
root@pve-ceph3:/home/moula# /etc/init.d/networking restart
[ ok ] Restarting networking (via systemctl): networking.service.
root@pve-ceph3:/home/moula# cat /etc/resolv.conf
search tychecloud.lan
nameserver 192.168.1.1
nameserver 192.168.1.2
nameserver 192.168.1.254
root@pve-ceph3:/home/moula#
and at the second server :
root@pve-ceph2:/home/moula# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug eth1
auto eth1
iface eth1 inet manual
broadcast 192.168.1.255
network 192.168.1.0
dns-nameservers 192.168.1.1
dns-search tychecloud.lan
# dns-* options are implemented by the resolvconf package, if installed
auto eth0
iface eth0 inet manual
auto eth2
iface eth2 inet manual
auto eth3
iface eth3 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.20
netmask 255.255.255.0
gateway 192.168.1.254
bridge_ports eth1
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
root@pve-ceph2:/home/moula# cat /etc/resolv.conf
search tychecloud.lan
nameserver 192.168.1.1
nameserver 192.168.1.2
nameserver 192.168.1.254
root@pve-ceph2:/home/moula# /etc/init.d/networking restart
[ ok ] Restarting networking (via systemctl): networking.service.
root@pve-ceph2:/home/moula# cat /etc/resolv.conf
nameserver 2a01:e00::1
nameserver 2a01:e00::2
thank's.