I have just installed Deepin on my laptop and while it works fine at home I have an issue with one of the entries in the resolv.conf file when at work.
nameserver 10.0.0.1
search corp.linuxdeepin.com
As the corporate network I am on uses the same subnet range as the entry above I have to keep commenting it out to get DNS to resolve. When the files is updated it is put back in. How can I permanently remove this entry?
Thanks,
Graham
Reply Like 0 Favorite View the author
All Replies
Maggieszd
deepin
2014-10-11 01:03
#1
Edit hosts file to change DNS, please execute the following command:
sudo gedit /etc/hosts
Copy the Code
Reply Like 0 View the author
Grahamuk2014
deepin
2014-10-11 02:34
#2
Hi,
That won't solve my problem as I need to remove the entry listed above permenantly.
Thanks,
Graham
Reply Like 0 View the author
fasheng
deepin
2014-10-12 05:40
#3
you need empty the content of "/etc/resolvconf/resolv.conf.d/original", try following commands please:
I have just installed Deepin on my laptop and while it works fine at home I have an issue with one of the entries in the resolv.conf file when at work.
nameserver 10.0.0.1
search corp.linuxdeepin.com
As the corporate network I am on uses the same subnet range as the entry above I have to keep commenting it out to get DNS to resolve. When the files is updated it is put back in. How can I permanently remove this entry?
Thanks,
Graham