Search Domain reverts to "local"

KatyComputer

Well-Known Member
Sep 26, 2019
194
16
58
62
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.