How to change DNS and put Google's
Tofloor
poster avatar
flacc
deepin
2017-05-17 11:43
Author
How to change DNS and put Google's and that definitely stay, I'm tired of trying and does not work.

Reply Favorite View the author
All Replies
michaeljayt
deepin
2017-05-17 17:16
#1
Hi. change the settings in Control Center does not work?
Reply View the author
yanbowen
deepin
2017-05-17 17:38
#2
The bug has been fixed, but not yet updated, please wait or add 'ignore-auto-dns=true' to your connection config at section ipv4/ipv6.
Reply View the author
nipos
deepin
2017-05-18 04:10
#3
Simply edit your /etc/resolv.conf
Reply View the author
flacc
deepin
2017-05-19 12:41
#4
I already did but when I restart it puts back what was before
Reply View the author
nipos
deepin
2017-05-20 04:22
#5
Then you have to disable the resolvconf daemon.
This program automatically changes your DNS settings.
Use this command to disable it:
sudo echo "resolvconf=no" > /etc/resolvconf.conf
Reply View the author
flacc
deepin
2017-05-20 12:55
#6
Edited by flacc at 2017-5-19 21:32

Thank you so muchIs IPV6 Dns also in resolv.conf?
Reply View the author
nipos
deepin
2017-05-21 02:31
#7
Of course,just write it like the IPv4 nameservers.
The complete tutorial if you have more questions: https://wiki.archlinux.org/index.php/Resolv.conf
Reply View the author
flacc
deepin
2017-05-22 05:52
#8
How can i find out where the script that resolv.conf changes is that the deepin changes every time it connects
Reply View the author
flacc
deepin
2017-05-22 05:55
#9
Is that this command is not the foncionae
*@venus:~$ sudo echo "resolvconf=no" > /etc/resolvconf.conf
bash: /etc/resolvconf.conf: Permission denied
Reply View the author
nipos
deepin
2017-05-22 07:43
#10
Then use the command "sudo gedit /etc/resolvconf.conf" und add resolvconf=no in the editor which will be opened.
I don't know why my short command makes problems but the gedit thing should work.
Reply View the author