Is it safe to set FQDN for hostname on PVE?


New Member
Mar 17, 2023
Hi there,

I have a couple dozen Proxmox VE servers now, and I am having some trouble keeping them separate, as the hostnames are the same in most cases. I have lots of `pve1` and `pve2`. But I would like to set the hostnames as a FQDN. This would make the full hostname appear as the default name in my tooling.

Would it be safe to run `hostnamectl set-hostname pve1.clientname.corp` for each environment?
if you don't use your search domain to reach other devices by hostname, you can put whatever you want in your hostname as it is just a string.

for example, if your machine fqdn is "" and your hostname is just "pve1", another machine "otherhost" will resolve to "" which if exists it will work, I'm not sure about the opposite, because if your hostname instead is "" it may happen that the resolution will become "" which is not ideal even if it still works, and it might not.
I'm not 100% sure.

you can try and let us know, worst it happens you change it back and everything you broke starts working again. if you don't use domain resolution like this, you're pretty safe.


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!