[P] DNS name resolution not stable

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hello!

I have installed Proxmox VE 3.3 on my small server.
During the installation I have defined IP address that belongs to the internal network provided by IPFire, that is running as a VM instance in PVE.
This GREEN network is 192.168.100.0/24

With this config I can access the PVE WebUI from any computer connected to GREEN.

Now I'm facing two issues:
  1. DNS name resolution on PVE installation is instable, means I can start an upgrade and after a few seconds the download fails.
    Please review the following example that hangs after downloading 32% of pve-qemu-kvm:
    Code:
    root@pc6:~# apt-get upgrade 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages have been kept back:
      proxmox-ve-2.6.32
    The following packages will be upgraded:
      ceph-common librados2 librbd1 novnc-pve pve-manager pve-qemu-kvm python-ceph qemu-server
    8 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 19.4 MB of archives.
    After this operation, 51.2 kB of additional disk space will be used.
    Do you want to continue [Y/n]? 
    Get:1 [URL]http://download.proxmox.com/debian/[/URL] wheezy/pve-no-subscription ceph-common amd64 0.80.6-1~bpo70+1 [7,018 kB]
    Get:2 [URL]http://download.proxmox.com/debian/[/URL] wheezy/pve-no-subscription librbd1 amd64 0.80.6-1~bpo70+1 [427 kB]    
    Get:3 [URL]http://download.proxmox.com/debian/[/URL] wheezy/pve-no-subscription librados2 amd64 0.80.6-1~bpo70+1 [2,021 kB]
    Get:4 [URL]http://download.proxmox.com/debian/[/URL] wheezy/pve-no-subscription python-ceph amd64 0.80.6-1~bpo70+1 [42.0 kB]
    Get:5 [URL]http://download.proxmox.com/debian/[/URL] wheezy/pve-no-subscription novnc-pve amd64 0.4-7 [368 kB]             
    Get:6 [URL]http://download.proxmox.com/debian/[/URL] wheezy/pve-no-subscription pve-qemu-kvm amd64 2.1-9 [5,488 kB]        
    60% [6 pve-qemu-kvm 1,771 kB/5,488 kB 32%]
    Err [URL]http://download.proxmox.com/debian/[/URL] wheezy/pvetest pve-qemu-kvm amd64 2.1-9                                 
      Unable to connect to download.proxmox.com:http:
    Err [URL]http://download.proxmox.com/debian/[/URL] wheezy/pvetest qemu-server amd64 3.1-35
      Unable to connect to download.proxmox.com:http:
    Err [URL]http://download.proxmox.com/debian/[/URL] wheezy/pvetest pve-manager amd64 3.3-2
      Unable to connect to download.proxmox.com:http:
    Fetched 9,876 kB in 4min 47s (34.3 kB/s)
    Failed to fetch [URL]http://download.proxmox.com/debian/dists/wheezy/pvetest/binary-amd64/pve-qemu-kvm_2.1-9_amd64.deb[/URL]  Unable to connect to download.proxmox.com:http:
    Failed to fetch [URL]http://download.proxmox.com/debian/dists/wheezy/pvetest/binary-amd64/qemu-server_3.1-35_amd64.deb[/URL]  Unable to connect to download.proxmox.com:http:
    Failed to fetch [URL]http://download.proxmox.com/debian/dists/wheezy/pvetest/binary-amd64/pve-manager_3.3-2_amd64.deb[/URL]  Unable to connect to download.proxmox.com:http:
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

    After rebooting the machine the upgrade completes without errors:
    Code:
    Last login: Sun Oct 12 10:36:53 2014 from 192.168.100.96
    root@pc6:~# apt-get upgrade 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages have been kept back:
      proxmox-ve-2.6.32
    The following packages will be upgraded:
      ceph-common librados2 librbd1 novnc-pve pve-manager pve-qemu-kvm python-ceph qemu-server
    8 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 9,482 kB/19.4 MB of archives.
    After this operation, 51.2 kB of additional disk space will be used.
    Do you want to continue [Y/n]? 
    Get:1 [URL]http://download.proxmox.com/debian/[/URL] wheezy/pve-no-subscription pve-qemu-kvm amd64 2.1-9 [5,488 kB]
    Get:2 [URL]http://download.proxmox.com/debian/[/URL] wheezy/pve-no-subscription qemu-server amd64 3.1-35 [120 kB]          
    Get:3 [URL]http://download.proxmox.com/debian/[/URL] wheezy/pve-no-subscription pve-manager amd64 3.3-2 [3,874 kB]         
    Fetched 7,711 kB in 11s (681 kB/s)                                                                              
    Reading changelogs... Done
  2. In GREEN network there's no DNS name resolution and therefore I cannot update IPFire installation or use NTP time service:
    Code:
    Oct 12 09:21:07 ipfire pakfire: DOWNLOAD INFO: HTTP-Status-Code: 500 - 500 Can't connect to pakfire.ipfire.org:80 (Bad hostname 'pakfire.ipfire.org')
    Oct 12 09:21:07 ipfire pakfire: Giving up: There was no chance to get the file 2.15/lists/server-list.db from any available server. There was an error on the way. Please fix it.
    Oct 12 09:21:07 ipfire pakfire: DOWNLOAD STARTED: 2.15/lists/server-list.db
    Oct 12 09:21:07 ipfire pakfire: DOWNLOAD INFO: Host: pakfire.ipfire.org (HTTP) - File: 2.15/lists/server-list.db

The network configuration in place is:
RED connected to KabelBW Gateway Technicolor TC7200 with fix IP 192.168.0.10. This IP is configured as Exposed Host.
GREEN with addresses 192.168.100.0/24
Proxmox VE 3.3 with fix IP 192.168.100.10
In KabelBW Gateway the following DNS servers are configured: 87.118.100.175 and 77.109.138.45.

How can I analyse the root cause of this problem or resolve it?

THX
 
Hello monty,

Check settings of gateway and DNS in WEB GUI

see example in attachment

Kind regards

Mr.Holmes
 

Attachments

  • dns.png
    dns.png
    3.9 KB · Views: 36
  • network.png
    network.png
    8.8 KB · Views: 35
Hello,

we have a lot of Proxmoxnotes running. We never had problem with DNS Nameresolution before. Maybe the problems dependent on the ipfire, or on the networkconnection. Do you have the problem with other hosts in this network? Test it with another machine on the same cable... or ... a lot of things can depend on DNS.

Regards
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!