What's Happening Here..

Nollimox

Member
Mar 9, 2023
273
24
23
I have been trying to update and upgrade...

root@nolliprivatecloud:~# apt-get update && apt-get dist-upgrade
Ign:1 http://ftp.us.debian.org/debian bookworm InRelease
Ign:2 http://security.debian.org bookworm-security InRelease
Ign:3 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
Ign:4 https://enterprise.proxmox.com/debian/pve bookworm InRelease
Ign:5 http://ftp.us.debian.org/debian bookworm-updates InRelease
Ign:2 http://security.debian.org bookworm-security InRelease
Ign:3 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
Ign:1 http://ftp.us.debian.org/debian bookworm InRelease
Ign:2 http://security.debian.org bookworm-security InRelease
Ign:5 http://ftp.us.debian.org/debian bookworm-updates InRelease
Ign:4 https://enterprise.proxmox.com/debian/pve bookworm InRelease
Err:2 http://security.debian.org bookworm-security InRelease
Temporary failure resolving 'security.debian.org'
Ign:1 http://ftp.us.debian.org/debian bookworm InRelease
Ign:3 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
Ign:5 http://ftp.us.debian.org/debian bookworm-updates InRelease
Ign:4 https://enterprise.proxmox.com/debian/pve bookworm InRelease
Err:1 http://ftp.us.debian.org/debian bookworm InRelease
Temporary failure resolving 'ftp.us.debian.org'
Err:3 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
Temporary failure resolving 'enterprise.proxmox.com'
Err:5 http://ftp.us.debian.org/debian bookworm-updates InRelease
Temporary failure resolving 'ftp.us.debian.org'
Err:4 https://enterprise.proxmox.com/debian/pve bookworm InRelease
Temporary failure resolving 'enterprise.proxmox.com'
Reading package lists... Done
W: Failed to fetch http://ftp.us.debian.org/debian/dists/bookworm/InRelease Temporary failure resolving 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/bookworm-updates/InRelease Temporary failure resolving 'ftp.us.debian.org'
W: Failed to fetch http://security.debian.org/dists/bookworm-security/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease Temporary failure resolving 'enterprise.proxmox.com'
W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bookworm/InRelease Temporary failure resolving 'enterprise.proxmox.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@nolliprivatecloud:~# nano /etc/apt/source.list

/etc/apt/source.list
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib

# Test updates
deb http://download.proxmox.com/debian/pve bookworm pvetest

root@nolliprivatecloud:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=109 time=54.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=109 time=55.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=109 time=71.9 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=109 time=58.0 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=109 time=59.3 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=109 time=45.0 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=109 time=53.4 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=109 time=56.7 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=109 time=54.5 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=109 time=47.1 ms
^C
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9016ms
rtt min/avg/max/mdev = 45.030/55.544/71.911/6.913 ms
root@nolliprivatecloud:~#
 
/etc/resolv.conf
Yes, it is:
GNU nano 7.2 /etc/resolv.conf
search nollicomm.net
nameserver 10.8.27.1

I just realize maybe why...pfSense is configured to self-resolve it...let me install pfSense VM and restore config.
 
i got the exact same problem, but i don't have pfsense installed yet, anybody knows why this happens?
 
i got the exact same problem, but i don't have pfsense installed yet, anybody knows why this happens?
In my case, I had actually a real domain that points to Cloudflare so that I could use cloudflare/Let's Encrypt so I could use host override in pfSense to resolve it locally instead of external. I had also setup a DMZ on my production firewall with the same DNS as planned for the PVE/nolliprivatecloud to make configuring PVE a breeze but forgot about the host override.

In your case, it most likely DNS...hope this helps.