If you are in Ubuntu12.04, you will find it difficult to modify a dns. After each modification, I restart the network and the modification will be lost. # Dynamicresolv. conf (5) fileforglibcresolver (3) generatedbyresolvconf (8) # DONOTEDITTHISFILEBYHAND--YOURCH
If you are in Ubuntu 12.04, you will find it difficult to modify a dns. After each modification, I restart the network and the modification will be lost.
# Dynamic resolv. conf (5) file for glibc resolver (3) generated by resolvconf (8)
# Do not edit this file by hand -- YOUR CHANGES WILL BE OVERWRITTEN
Files are automatically generated. The modified file will take effect permanently.
Cd/etc/resolvconf/resolv. conf. d/
# Cat base
Nameserver 8.8.8.8
This time can be permanently modified.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2