[lxc-users] Create bridge between LXC Container and Ethernet device

Guido Jäkel G.Jaekel at DNB.DE
Thu Jan 7 20:08:25 UTC 2021


Hi Patrick,

(eighter change the hoster or) you may install a simple forwarding DNS resolver like dnsmasq on you lxc host and configure the container(s) to use this.

Guido

On 2021-01-07 18:55, Patrick wrote:
> There is only one problem left. The DNS doesn't work. I can ping 8.8.8.8, but I can't ping domain names. I tried it with Debian and Ubuntu, I configered my DNS using plain /etc/resolv.conf, Netplan and systemd-resolved, but I can't get it work. I tried several public DNS servers, they work on the host system, but not inside the container. I'm not sure if this is my fault or if it's because of a restriction from my hoster.


More information about the lxc-users mailing list