Ubuntu DNS back to normal

Posted by Mohd Shahril on Ask Ubuntu See other posts from Ask Ubuntu or by Mohd Shahril
Published on 2012-10-23T22:50:22Z Indexed on 2012/10/23 23:19 UTC
Read the original article Hit count: 419

Filed under:
|

Yesterday, I change my DNS into google DNS because my ISP has place so many restriction..

So I edit my resolv.conf file and it's look like this..

# 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
#nameserver 127.0.1.1
nameserver 8.8.8.8
nameserver 8.8.4.4

But, when I login in my ubuntu, I try to look at my favourite site, but it's show could not connected, so I begins to suspect with my DNS, so I look back, and suprisingly, it's become normal back..

# 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
nameserver 127.0.1.1

So my question, how to make this file don't revert to using default DNS ? I want google DNS, not my ISP DNS.. I'm using new ubuntu 12.10, in 12.04, this problem doesn't occur..

© Ask Ubuntu or respective owner

Related posts about dns

Related posts about google