I changed nameserver in /etc/resolv.conf and after a system reboot it resets the nameserver back to what it was.
I am using linux mint 19 (Cinnamon).
This file is managed by man:systemd-resolved(8). Do not edit.
This is a dynamic resolv.conf file for connecting local clients to the
internal DNS stub resolver of systemd-resolved. This file lists all
configured search domains.
Run "systemd-resolve --status" to see details about the uplink DNS servers
currently in use.
Third party programs must not access this file directly, but only through the
symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
replace this symlink by a static file or a different symlink.
See man:systemd-resolved.service(8) for details about the supported modes of
operation for /etc/resolv.conf.
nameserver 18.104.22.168 nameserver 22.214.171.124
this is my file before i reboot my system and after reboot the nameserver changes