Hi,
I've been working since a year with proxmox everything was smooth until suddenly there is an issue with name resolution.
Here is my configuration:
nano /etc/resolv.conf
Also I don't know why in the below service (echo "nameserver 127.0.0.53") shouldn't be 8.8.8.8
Your help is really appreciated, I've spent days on this.
I've been working since a year with proxmox everything was smooth until suddenly there is an issue with name resolution.
Code:
root@proxmox:~# ping google.com
ping: google.com: Temporary failure in name resolution
Here is my configuration:
Code:
root@proxmox:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 30:9c:23:21:bc:9c brd ff:ff:ff:ff:ff:ff
3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 30:9c:23:21:bc:9c brd ff:ff:ff:ff:ff:ff
inet 192.168.0.10/24 brd 192.168.0.255 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::329c:23ff:fe21:bc9c/64 scope link
valid_lft forever preferred_lft forever
Code:
root@proxmox:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp0s31f6 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 8.8.8.8 1.1.1.1
bridge_ports enp0s31f6
bridge_stp off
bridge_fd 0
#auto enp0s31f6
#iface enp0s31f6 inet static
# address 192.168.0.10/24
# gateway 192.168.0.1
#auto enx00e04c365a9e
#iface enx00e04c365a9e inet static
# address 192.168.0.11/24
# gateway 192.168.0.1
nano /etc/resolv.conf
nameserver 8.8.8.8
Also I don't know why in the below service (echo "nameserver 127.0.0.53") shouldn't be 8.8.8.8
Code:
root@proxmox:/etc# systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: active (running) since Fri 2021-12-03 13:10:35 EET; 1min 11s ago
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Process: 3788 ExecStartPost=/bin/sh -c [ ! -e /run/resolvconf/enable-updates ] || echo "nameserver 127.0.0.53" | /sbin
Main PID: 3781 (systemd-resolve)
Status: "Processing requests..."
Tasks: 1 (limit: 4915)
Memory: 2.8M
CGroup: /system.slice/systemd-resolved.service
└─3781 /lib/systemd/systemd-resolved
Dec 03 13:10:34 proxmox systemd[1]: Starting Network Name Resolution...
Dec 03 13:10:35 proxmox systemd-resolved[3781]: Positive Trust Anchors:
Dec 03 13:10:35 proxmox systemd-resolved[3781]: . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde
Dec 03 13:10:35 proxmox systemd-resolved[3781]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc6834571042
Dec 03 13:10:35 proxmox systemd-resolved[3781]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-ad
Dec 03 13:10:35 proxmox systemd-resolved[3781]: Using system hostname 'proxmox'.
Dec 03 13:10:35 proxmox systemd[1]: Started Network Name Resolution.
Your help is really appreciated, I've spent days on this.
Last edited by a moderator: