Custom DNS in a CT with Dynamic IP.


Dec 15, 2021

I am having problems configuring DNS on a

My ISP gives me public dynamic IPs for each device I connect to the internet. I configured the container to take the IP from the DHCP server and it worked, but I need to change the DNS servers.

My problem is that the container is not using the DNS settings that I assigned to it from the Proxmox control panel.

I already tried to change the DNS that were in the resolv.conf file, which contains the DNS of my ISP
but when you restart the container they go back to how they were before you edited them.

Some help?
thank you!
Last edited:


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!