I have a GUI iteration of 18.04 running as a full VM on my Proxmox host. This exist really for only one reason, so that I can have a centralized place to mount all my network locations and then have those backed up to crashplan (crasphlan doesn't support headless within linux)
I can change "/etc/resolv.conf" and it will instantly start using the DNS I point it to. The issue is when any kind of system reboot comes into play. Once recovered, it goes back to using the local host as the DNS.
It seems this is a byproduct of the network GUI features taking precedence? However, that section in my GUI appears to be blank (see attached pic "1").
I've tried setting it in /etc/network/interfaces as this is how I've configured all the other static options (see attached pic "2"). This however does nothing for the DNS.
Any ideas on how to set a DNS that will persist between system/service restarts?
Edit:
It seems resolvconf should be the service I need. Attempting to install it, I could see there were issues with dsnmasq trying to use the port (I assume part of the resolvconf service) but it was reported another service was already using port 53. Continued investigation showed this service to be systemd-resolved. I used these instructions to remove systemd-resolved and then used these instructions to deploy resolvconf.
I received no apparent errors when running this, however DNS is still not working (see attached pic "3")
Bookmarks