Fresh installation of EndeavourOS (XFCE4). Nothing tinkered with nor changed.
Kernel: 6.18.3-arch1-1
Everything works perfectly after installing Technitium DNS using their curl command. But as soon as the system is rebooted, my system reverts to the router’s DNS, ignoring my Technitium installation.
It doesn’t say it runs on Arch, which it probably doesn’t, or it would.
My guess (and that’s all it is), is your system simply isn’t setup properly by their script, and falls back to your DHCP settings on reboot.
Without a lot more information, I couldn’t be any more precise. Best bet is to A) dig deeper B) forget it C) Contact the source of the script for assistance.
I tried the AUR version, but sadly it was the same issue.
I’ve done a bit of testing now, and it seems this is caused by NetworkManager overwriting the settings of /etc/resolv.conf on reboot.
Making /etc/resolv.conf immutable completely solved my problem (I don’t use VPNs, so this is not a concern at present).
I don’t know if there is a more elegant solution. I don’t fancy editing NetworkManager on an individual connection basis, as this is a device I travel with.