On 6/8/23 09:28, Jon Smart wrote:
Hello
I have removed the default systemd-resolved local dns service following
the link below,
https://askubuntu.com/questions/907246/how-to-disable-systemd-resolved-in-ubuntu
And I have unbound installed and enabled as local DNS server.
But every time I reboot the server, the configuration file
/etc/resolv.conf changes to a default one. So every time I have to update
its content to:
nameserver 127.0.0.1
(points to unbound)
How to stop the auto-changes to /etc/resolv.conf after rebooting?
Thanks.
What is the new contents of /etc/resolv.conf?
If it mentions NetworkManager then that is the cause of your problems
and you will have to follow web instructions to change NetworkManager
behaviour.