I have a couple of questions:
1. To change resolv.conf and have it persistent across reboots, i read a couple of solutions:
(i) add a file “nodnsupdate” at “/etc/dhcp/dhclient-enter-hooks.d” with content:
make this file executable +x
(ii) uncomment the entry dns-name-servers server1, server2; in file:
eg. supersede domain-name-servers 127.0.0.1;
what’s the better way to do so?
2. I am trying to set timezone using timedatectl:
timedatectl set-timezone <timezone>
it gets changed for about 5 minutes and falls back to UTC. Not sure what is changing it back. I have stopped systemd-timesyncd as well as systemd-timedated.
Also, i noticed
timedatectl set-ntp false
does not kill/stop systemd-timesyncd daemon
So if i don’t want to use ntp servers for syncing time do i need to stop it manually?