Search Domain reverts to "local"

KatyComputer

Active Member
Sep 26, 2019
193
16
38
61
St Louis
katycomputer.com
My PVE 6.2-12 installation insists on reverting the search domain back to "local".

The first time or two, I thought I forgot to set the domain, today was the third or forth time I changed it to the correct domain.

How can I fix this? It's causing trouble in PMG where senders expect to find domain.com, instead they find local
1603051885236.png
 
my first guess would be that an interface of the PVE is configured to get it's configuration via DHCP - check the journal for messages from dhcpcd

Alternatively maybe you have one of the services which touch the resolv.conf installed and configured (wrongly):
* resolvconf
* network-manager
* systemd-resolved

-> check the logs and the contents of /etc/resolv.conf (usually they give you a hint)

I hope this helps!
 
HPE's iLO creates a virtual interface, my first inclination is to define it as a static IP in /etc/network/interfaces.
Is that the optimal solution?

We are also using ZeroTier, however I believe it comes to life after resolv.conf is built.
 

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!