Weird bug or broken config with ubuntu lxc

Padi100

New Member
Jul 21, 2023
2
0
1
Hello everybody,

I hope this is the right place to post this weird issue I have with LXC container.

If I create an LXC with Debian 11 / 12 the DNS configuration from the DHCP Server is used. But with Ubuntu 22.04 / 23.04 / 23.10 the resolv.conf is always overwritten by the dns settings of the proxmox host. Is this normal behaviour for Ubuntu LXC?

Ubuntu LXC with wrong DNS setting but the correct IP:
1703334784042.png

Debian LXC with correct DNS settings:
1703334827766.png
 
Yes, I know. That's my problem. I don't understand why the ubuntu-lxc uses the settings from the host and on debian not. The ubuntu container doesn't get the DNS-Settings and I want to know if this is intended or not. Because for me it doesn't make sense that two different linux OS handle the DNS settings received from the DHCP server differently.
 

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!