Is it possible to set the search domain to be the nodes domain so that all containers become subdomains?

Unfazed4088

New Member
Jan 12, 2025
1
0
1
I want all my LXCs to be their own subdomain of the node they're on, which is node-1.lan.
I tried setting the search domain to be ".node-1.lan" instead of just ".lan" (it picked it up by default from my DHCP server) but it doesn't work, they're all still just <container>.lan.

Is this possible? I also tried manually setting the hostname of a container to container1.node-1, hoping for container1.node-1.lan, but it still just becomes container1.lan
 
The dns domain is set on dns/dhcp server for ip's and not inside any os and nor in pve.
 

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!