I guess you are talking about containers, because PVE does not do the actual network setup inside VMs?
you can tell PVE to not touch the /etc/resolv.conf file (or equivalent, depending on guest distribution), then the network setup tools of the container should be able to use the information obtained via DHCP. but I guess that is highly dependent on the actual distro and tools used