How to make name server address permanent in /etc/resolv.conf even after system reboot?

Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
-1
down vote
favorite
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
 |Â
show 2 more comments
up vote
-1
down vote
favorite
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
/etc/resolv.confmaybe generated from other files. Which distro and version are you using?
â muru
Jul 20 at 7:41
Please add the contents of your/etc/resolv.confto your question. (Format it as code by selecting it and choosing thebutton from the editing menu.) Obfuscate if you must must make sure you tell us what you've redacted.
â roaima
Jul 20 at 7:42
i am using linux mint 19 cinnamon
â bishal
Jul 20 at 7:43
Please paste text not images of text.
â roaima
Jul 20 at 7:50
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System settings in Mint. Alternatively do it via editing files, as per wiki.debian.org/NetworkConfiguration with addition of "dns-addresses 8.8.8.8 8.8.4.4" (or your preferred addresses to/etc/network/interfaces
â guiverc
Jul 20 at 7:51
 |Â
show 2 more comments
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
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
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
edited Jul 20 at 7:53
asked Jul 20 at 7:39
bishal
11
11
/etc/resolv.confmaybe generated from other files. Which distro and version are you using?
â muru
Jul 20 at 7:41
Please add the contents of your/etc/resolv.confto your question. (Format it as code by selecting it and choosing thebutton from the editing menu.) Obfuscate if you must must make sure you tell us what you've redacted.
â roaima
Jul 20 at 7:42
i am using linux mint 19 cinnamon
â bishal
Jul 20 at 7:43
Please paste text not images of text.
â roaima
Jul 20 at 7:50
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System settings in Mint. Alternatively do it via editing files, as per wiki.debian.org/NetworkConfiguration with addition of "dns-addresses 8.8.8.8 8.8.4.4" (or your preferred addresses to/etc/network/interfaces
â guiverc
Jul 20 at 7:51
 |Â
show 2 more comments
/etc/resolv.confmaybe generated from other files. Which distro and version are you using?
â muru
Jul 20 at 7:41
Please add the contents of your/etc/resolv.confto your question. (Format it as code by selecting it and choosing thebutton from the editing menu.) Obfuscate if you must must make sure you tell us what you've redacted.
â roaima
Jul 20 at 7:42
i am using linux mint 19 cinnamon
â bishal
Jul 20 at 7:43
Please paste text not images of text.
â roaima
Jul 20 at 7:50
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System settings in Mint. Alternatively do it via editing files, as per wiki.debian.org/NetworkConfiguration with addition of "dns-addresses 8.8.8.8 8.8.4.4" (or your preferred addresses to/etc/network/interfaces
â guiverc
Jul 20 at 7:51
/etc/resolv.conf maybe generated from other files. Which distro and version are you using?â muru
Jul 20 at 7:41
/etc/resolv.conf maybe generated from other files. Which distro and version are you using?â muru
Jul 20 at 7:41
Please add the contents of your
/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.â roaima
Jul 20 at 7:42
Please add the contents of your
/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.â roaima
Jul 20 at 7:42
i am using linux mint 19 cinnamon
â bishal
Jul 20 at 7:43
i am using linux mint 19 cinnamon
â bishal
Jul 20 at 7:43
Please paste text not images of text.
â roaima
Jul 20 at 7:50
Please paste text not images of text.
â roaima
Jul 20 at 7:50
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System settings in Mint. Alternatively do it via editing files, as per wiki.debian.org/NetworkConfiguration with addition of "dns-addresses 8.8.8.8 8.8.4.4" (or your preferred addresses to
/etc/network/interfacesâ guiverc
Jul 20 at 7:51
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System settings in Mint. Alternatively do it via editing files, as per wiki.debian.org/NetworkConfiguration with addition of "dns-addresses 8.8.8.8 8.8.4.4" (or your preferred addresses to
/etc/network/interfacesâ guiverc
Jul 20 at 7:51
 |Â
show 2 more comments
2 Answers
2
active
oldest
votes
up vote
0
down vote
I think your question is answered here
The link says that you "shouldn't manually update your resolv.conf, because all changes will be overwritten by data that your local DHCP server provides."
add a comment |Â
up vote
0
down vote
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System Settings in Mint.
Alternatively do it via editing files, as per https://wiki.debian.org/NetworkConfiguration with the addition of
"dns-addresses 8.8.8.8 8.8.4.4"
(for google DNS; change to your preferred DNS addresses) in
/etc/network/interfaces
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I think your question is answered here
The link says that you "shouldn't manually update your resolv.conf, because all changes will be overwritten by data that your local DHCP server provides."
add a comment |Â
up vote
0
down vote
I think your question is answered here
The link says that you "shouldn't manually update your resolv.conf, because all changes will be overwritten by data that your local DHCP server provides."
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I think your question is answered here
The link says that you "shouldn't manually update your resolv.conf, because all changes will be overwritten by data that your local DHCP server provides."
I think your question is answered here
The link says that you "shouldn't manually update your resolv.conf, because all changes will be overwritten by data that your local DHCP server provides."
answered Jul 20 at 7:53
John Smith
92857
92857
add a comment |Â
add a comment |Â
up vote
0
down vote
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System Settings in Mint.
Alternatively do it via editing files, as per https://wiki.debian.org/NetworkConfiguration with the addition of
"dns-addresses 8.8.8.8 8.8.4.4"
(for google DNS; change to your preferred DNS addresses) in
/etc/network/interfaces
add a comment |Â
up vote
0
down vote
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System Settings in Mint.
Alternatively do it via editing files, as per https://wiki.debian.org/NetworkConfiguration with the addition of
"dns-addresses 8.8.8.8 8.8.4.4"
(for google DNS; change to your preferred DNS addresses) in
/etc/network/interfaces
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System Settings in Mint.
Alternatively do it via editing files, as per https://wiki.debian.org/NetworkConfiguration with the addition of
"dns-addresses 8.8.8.8 8.8.4.4"
(for google DNS; change to your preferred DNS addresses) in
/etc/network/interfaces
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System Settings in Mint.
Alternatively do it via editing files, as per https://wiki.debian.org/NetworkConfiguration with the addition of
"dns-addresses 8.8.8.8 8.8.4.4"
(for google DNS; change to your preferred DNS addresses) in
/etc/network/interfaces
answered Jul 20 at 7:54
guiverc
17815
17815
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457364%2fhow-to-make-name-server-address-permanent-in-etc-resolv-conf-even-after-system%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
/etc/resolv.confmaybe generated from other files. Which distro and version are you using?â muru
Jul 20 at 7:41
Please add the contents of your
/etc/resolv.confto your question. (Format it as code by selecting it and choosing thebutton from the editing menu.) Obfuscate if you must must make sure you tell us what you've redacted.â roaima
Jul 20 at 7:42
i am using linux mint 19 cinnamon
â bishal
Jul 20 at 7:43
Please paste text not images of text.
â roaima
Jul 20 at 7:50
You should be able to make it permanent via NetworkManager applet on Cinnamon (sorry I don't use it so have no idea), or your System settings in Mint. Alternatively do it via editing files, as per wiki.debian.org/NetworkConfiguration with addition of "dns-addresses 8.8.8.8 8.8.4.4" (or your preferred addresses to
/etc/network/interfacesâ guiverc
Jul 20 at 7:51