[SOLVED] Proxmox DNS Settings Reset every boot

Nathan Davis

Member
Aug 27, 2017
8
1
23
29
This is similar to https://forum.proxmox.com/threads/proxmox-6-0-9-dns-host-settings-reset-every-time.59434/

Every time I reboot my server my dns settings are reset to 10.0.0.2. This is the IP of the Windows Server virtual machine running a DNS server. However, proxmox can't access this ip directly. It is behind a pfsense virtual machine at 10.0.0.1 as a firewall/router. I am not sure what I did to cause this, but I don't have any other network managers installed. The server has two ethernet ports enp5s0f0 and enp5s0f1. I assume I configured something wrong in
/etc/network/interfaces to cause this.


Proxmox 6.1-3
Kernal 5.3.10-1-pve

/etc/network/interfaces
auto lo
iface lo inet loopback

iface enp5s0f0 inet manual

iface enp5s0f1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
bridge-ports enp5s0f0
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
bridge-ports enp5s0f1
bridge-stp off
bridge-fd 0

auto vmbr2
iface vmbr2 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
 
What's the content of '/etc/resolv.conf'

any indication in the journal where the settings get changed? (`journalctl -b` for the journal since the last boot)
 
somehow I installed NetworkManager,


/etc/resolv.conf
search lab.local
nameserver 1.1.1.1
# Generated by NetworkManager

I edited the network manager config to set dns=none based on this page
 
Last edited:
Glad you found the issue!
please mark the thread as 'SOLVED' - it helps others, who have similar problems and are looking for a solution

Thanks!
 

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!