LXC Create DNS Bug

matthew

Renowned Member
Jul 28, 2011
211
5
83
When creating a new LXC Centos 7 container in Proxmox 4.x and I select use host DNS settings it uses an IP in 10.0.0.0/8 range, forget exactly what IP, rather then host DNS server.
 
post the output of:

> pveversion -v
 
# pveversion -v
proxmox-ve: 4.0-16 (running kernel: 4.2.2-1-pve)
pve-manager: 4.0-57 (running version: 4.0-57/cc7c2b53)
pve-kernel-4.2.2-1-pve: 4.2.2-16
lvm2: 2.02.116-pve1
corosync-pve: 2.3.5-1
libqb0: 0.17.2-1
pve-cluster: 4.0-24
qemu-server: 4.0-35
pve-firmware: 1.1-7
libpve-common-perl: 4.0-29
libpve-access-control: 4.0-9
libpve-storage-perl: 4.0-29
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.4-12
pve-container: 1.0-20
pve-firewall: 2.0-13
pve-ha-manager: 1.0-13
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.4-3
lxcfs: 0.10-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve4~jessie
 
update to latest stable and test again. AFAIK this is fixed already.
 
I think I am.

# apt-get update
Ign http://ftp.us.debian.org jessie InRelease
Hit http://ftp.us.debian.org jessie Release.gpg
Hit http://ftp.us.debian.org jessie Release
Hit http://ftp.us.debian.org jessie/main amd64 Packages
Hit http://ftp.us.debian.org jessie/contrib amd64 Packages
Hit http://ftp.us.debian.org jessie/contrib Translation-en
Hit http://ftp.us.debian.org jessie/main Translation-en
Hit http://security.debian.org jessie/updates InRelease
Hit http://security.debian.org jessie/updates/main amd64 Packages
Get:1 https://enterprise.proxmox.com jessie InRelease [227 B]
Ign https://enterprise.proxmox.com jessie InRelease
Hit https://enterprise.proxmox.com jessie Release.gpg
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit https://enterprise.proxmox.com jessie Release
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages
Get:2 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [259 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Get:3 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Get:4 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [259 B]
Get:5 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Get:6 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [259 B]
Get:7 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Get:8 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [259 B]
Get:9 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Get:10 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [259 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US
Get:11 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en
Reading package lists... Done


# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libpve-common-perl proxmox-ve
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.