Hi,
I am running into a weird DNS issue and am hoping that people here can help. I have two Proxmox servers and they are each configure with two network interfaces as follows:
Net 1: x.x.0.15 fixed IP with DNS servers of .37 and .51
Net2: x.x.10.45 DHCP with DNS servers provided by DHCP of 10.46 and 10.48
Now, I want Proxmox to always have x.x.37 and x.x.51 as DNS servers. However, every time I reboot, Promox reverts to the DNS servers in the .10.x domain. This is problematic because .10.x is only used a couple of VMs and every other VM then fails because they get the .10.x DNS from Proxmox and they have no access to that network. This brings me to my questions:
I am running into a weird DNS issue and am hoping that people here can help. I have two Proxmox servers and they are each configure with two network interfaces as follows:
Net 1: x.x.0.15 fixed IP with DNS servers of .37 and .51
Net2: x.x.10.45 DHCP with DNS servers provided by DHCP of 10.46 and 10.48
Now, I want Proxmox to always have x.x.37 and x.x.51 as DNS servers. However, every time I reboot, Promox reverts to the DNS servers in the .10.x domain. This is problematic because .10.x is only used a couple of VMs and every other VM then fails because they get the .10.x DNS from Proxmox and they have no access to that network. This brings me to my questions:
- Is there a way to force Proxmox to always use .37 and .51? I manually update resolv.conf and the gui, but the setting seems to be overwritten on reboot.
- I guess I could change each VM to have a manually assigned DNS versus choosing the "same as server" option, but this is a bit annoying because I have to change many systems. Is there a simple batch way to do this?
- Would this situation be different if I switched the Net2 IP configuration to a fixed IP vs DHCP?