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 8.8.8.8
nameserver 8.8.4.4
This is my file before i reboot my system and after reboot the nameserver changes.
/etc/resolv.conf
maybe generated from other files. Which distro and version are you using? – muru Jul 20 '18 at 07:41/etc/resolv.conf
to your question. (Format it as code by selecting it and choosing the{}
button from the editing menu.) Obfuscate if you must must make sure you tell us what you've redacted. – Chris Davies Jul 20 '18 at 07:42/etc/network/interfaces
– guiverc Jul 20 '18 at 07:51{}
button to mark it as a code block. – Chris Davies Jul 20 '18 at 16:44