Hi guys,
Sorry to bother, but I got perhaps a fairly easy problem, but I can't seem to be able to solve it.
I have 1 host with 3 VMs, all of them can reach Internet and resolve domain names, but Docker containers running on said VMs can't resolve DNS (ping google.com fails), but can reach Internet (ping 1.1.1.1 works).
/etc/resolv.conf looks same in all places (host, VM, Docker container):
This is /etc/network/interfaces on the host:
VMs are running on CentOS 8 Stream and have static address ending .31, 32 and .33, with gateway also 10.0.0.100. They have PVE firewall disabled.
I've found numerous threads, where people had issue with Docker not connecting to Internet at all, but mine only fails on DNS.
Does that "masquerading" also concern my setup?
Thank you for any suggestion!
Sorry to bother, but I got perhaps a fairly easy problem, but I can't seem to be able to solve it.
I have 1 host with 3 VMs, all of them can reach Internet and resolve domain names, but Docker containers running on said VMs can't resolve DNS (ping google.com fails), but can reach Internet (ping 1.1.1.1 works).
/etc/resolv.conf looks same in all places (host, VM, Docker container):
Code:
nameserver 1.1.1.1
This is /etc/network/interfaces on the host:
Code:
auto lo
iface lo inet loopback
iface enp0s31f6 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.0.0.30
netmask 255.255.255.0
gateway 10.0.0.100
bridge_ports enp0s31f6
bridge_stp off
bridge_fd 0
iface wlp2s0 inet manual
VMs are running on CentOS 8 Stream and have static address ending .31, 32 and .33, with gateway also 10.0.0.100. They have PVE firewall disabled.
I've found numerous threads, where people had issue with Docker not connecting to Internet at all, but mine only fails on DNS.
Does that "masquerading" also concern my setup?
Thank you for any suggestion!