PVE 9.1.1 and RockyOS10 LXC container not respecting .pve-ignore.resolv.conf file

Spennorex

New Member
Nov 29, 2025
1
0
1
Hi, I just started to work on a new container for my environment, and I'm trying to set multiple DNS servers for my RockyOS10 container. I initially noticed i could add 2 inside of the DNS servers field when making the container, and that only worked with a space.

I tested that, and found out that pve then just does not enter any DNS servers to resolv.conf at all.
I tried to modify the setting in the webUI and i noticed that when i comma-seperate them, it reverts to spaces.
I looked around, and found out that there is a feature to not have proxmox handle resolv.conf, by simple writing a file to /etc/ called .pve-ignore.resolv.conf

I did that, but that does not seem to get respected. I removed resolv.conf, modified it, but every reboot, it just applies the config from proxmox back into the container.

I tried setting the config using networkmanager in the container (by the following command:
Bash:
nmcli connection modify eth0 ipv4.dns "10.16.20.225 10.16.20.226"
, and that does correctly set the resolv.conf file, but does not persist through reboots either.

I've tried setting servers in the DNS page, and tried clearing that field, or also clearing the lookup domain field, but i'm not getting any results the way i would like.

Any ideas?