Ubuntu and Google Public DNS

Posted in Quick Tips | 55 comments
Tags: , , , ,

google logoGoogle launched its public DNS service in the end of 2009 and now it is time to say that is fast and reliable enough to start using it with your Ubuntu. See below how to configure your DNS settings and point your Ubuntu to Google’s DNS entry.

As far as Ubuntu is one of Linux distributions DNS entries are stored in /etc/resolv.conf text file that is read by operating system in real-time. If you need to point your Ubuntu to Google DNS quickly and easy just execute the following command that adds one line to /etc/resolv.conf:

sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf

At the same time this is temporary solution as network manager coming with any Ubuntu by default for easy network settings configuration, overwrites resolv.conf according to network connection setup either wired or wireless. Therefore to set up Google Public DNS as permanent DNS entry in your Ubuntu you have to edit your network connection using network manager and set up static DNS entry. Just follow below screenshots (they are taken on my Ubuntu Lucid Lynx 10.04 LTS):

1. Go to Ubuntu menu –> System –> Preferences –> Network Connections and select network connection you use to get access to Internet:

network connections wifi ubuntu

2. Press Edit button and go to IPv4 Settings tab. Set DNS Servers field to 8.8.8.8 and Search Domains to google.com.

Screenshot Editing Auto bcpl

Once you pressed Apply button settings will be saved. Reset your network connection through network manager (disconnect and connect) to make it generate new /etc/resolv.conf file and start using Google Public DNS in your Ubuntu.

Follow @Ubuntuka on Twitter!
RSSComments

Reverend Vincent Hugh Jarse

Posted on January 23, 2011 at 11:20 am

Okay, Google, one of the most awesome brands on the planet.. But being able to use their public DNS is like saying “here, track EVERY connection I make outside my LAN please!”

Nick Halliwell

Posted on August 12, 2011 at 2:30 am

I assume that if you have more than 1 machine that are connected to a router you can set the Google DNS up in your router and therefore have all you machines accessing Google DNS

Can anyone confirm?

@ActionParsnipXL

Posted on June 12, 2012 at 5:41 am

sudo echo won't work as the sudo doesn't traverse the redirection. User's following this will STILL get access denied. If you use:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

it will work. You clearly log in as root (for some weird reason). Did you even test this!??

Contact Us

Posted on November 28, 2012 at 7:31 pm

Thanks for finally writing about >Ubuntu and
Google Public DNS – Ubuntuka <Loved it!

womotour.com

Posted on December 1, 2012 at 6:23 pm

When I originally commented I clicked the “Notify me when new comments are added” checkbox and
now each time a comment is added I get several emails with the same comment.
Is there any way you can remove people from that service?
Bless you!

visit website

Posted on January 11, 2013 at 12:14 pm

Hi there! I could have sworn I’ve been to this blog before but after reading through some of the post I realized it’s new to
me. Anyways, I’m definitely happy I found it and I’ll be book-marking and checking back often!

greg mclardie

Posted on January 13, 2013 at 11:46 pm

oh men, I want to have a car like that, but I am sure its king expensive but when you drive it you look like your flying an airplane..hahaha

led lights

Posted on January 14, 2013 at 1:04 am

I have been visits lots of blogs, some of them are nice but so far your blog makes my mind blow away, you contents are very interesting and we can get information to you blogs, thanks for sharing it.

Schutzengel für uns !

Posted on January 30, 2013 at 4:40 pm

Hi there, constantly i used to check webpage posts here in the
early hours in the break of day, as i enjoy to gain knowledge
of more and more.

free web hosting

Posted on February 2, 2013 at 10:04 am

First off I want to say terrific blog! I had a quick question that I’d like to ask if you do not mind. I was curious to know how you center yourself and clear your head prior to writing. I have had a hard time clearing my thoughts in getting my ideas out there. I truly do take pleasure in writing but it just seems like the first 10 to 15 minutes are generally wasted just trying to figure out how to begin. Any ideas or tips? Cheers!

Domain transformer

Posted on March 10, 2013 at 6:46 am

Brilliant article post! I've first learned that info about how to configure DNS settings and point Ubuntu to Google’s DNS entry. Really, it is useful and practical input. Please, keep it up with continue.

Helaine

Posted on May 5, 2013 at 4:47 pm

Hi, I log on to your blogs on a regular basis. Your humoristic
style is witty, keep doing what you’re doing!

green coffee bean max

Posted on May 22, 2013 at 5:12 pm

Coffee is one of the major scientific studies carried out green coffee bean diet
for weight loss. Since October 2006, Green Mountain coffee
is a Medium Roast and sold in pre-packaged bags in the coffee helps to avoid excess glucose in the body.
Are there any potential dangers to taking green coffee bean
diet Bean extract live up to the truth.

office cleaning glasgow

Posted on June 12, 2013 at 2:01 am

It’s remarkable for me to have a web page, which is helpful for my know-how. thanks admin

wifi hack iphone

Posted on July 9, 2013 at 11:04 am

Your style is very unique in comparison to other
people I have read stuff from. Thank you for posting when you have the opportunity,
Guess I will just book mark this web site.

spss data analysis

Posted on August 12, 2013 at 9:18 am

This is nice. To make it even better, add ubuntu-server-tip to the end of .bashrc, so when you log-in or open a terminal, you will your "tip of the day.

spirulina benefits

Posted on August 17, 2013 at 7:55 pm

Wow, awesome blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your website
is wonderful, let alone the content!

Claire

Posted on August 19, 2013 at 10:20 am

Glad that i have found you people. it has been heard that Google launched its public DNS service for the users. i found it is to be fast and reliable and easy to use and implement, the screen shots have helped me to understand more about this. thank your for posting. Regards.
justice coin commercial

click here

Posted on September 10, 2013 at 9:31 am

Google audience DNS is a unrestrained authority appoint computer server from Google. You can exercise Google's DNS servers rather of your Internet utility provider's DNS servers. Google's servers might give faster furthermore additional responsible liturgy than quantity Internet duty providers' DNS servers.

angry birds spielen online

Posted on October 4, 2013 at 5:29 am

Thanks for revealing your ideas. I’d also like to mention that video games have been ever before
evolving. Technology advances and revolutions have aided create practical and
fun games. These entertainment games were not really
sensible when the real concept was first of all being
attempted. Just like other styles of technologies,
video games also have had to evolve by many generations.

This itself is testimony for the fast progression of video games.

Arlene

Posted on October 9, 2013 at 11:48 pm

Hey there, You’ve done a fantastic job. I will
certainly digg it and personally suggest to my friends.
I’m confident they’ll be benefited from this website.

Googlechromedownload

Posted on October 24, 2013 at 11:30 am

Many thanks for scripting this superior submitting, I might like to share it with my buddies. Be sure to go on updating your Web-site, I subscribe it.

zxanizer

Posted on November 1, 2013 at 6:07 am

You can advantage Google's DNS servers rather of your Internet duty provider's DNS servers. Google's servers might give faster moreover better true duty than any Internet employ providers' DNS servers.
scanner organizer

free domain hosting google apps

Posted on November 17, 2013 at 4:43 pm

It’s a pity you don’t have a donate button! I’d certainly donate to this
excellent blog! I suppose for now i’ll settle for bookmarking and
adding your RSS feed to my Google account. I look
forward to fresh updates and will talk about this blog with
my Facebook group. Talk soon!

wikiterious.com

Posted on December 19, 2013 at 9:31 pm

Do you mind if I quote a few of your posts as long as I provide credit and sources back to your blog?
My blog is in the very same niche as yours and my users would
really benefit from a lot of the information you
present here. Please let me know if this ok with you.
Regards!

shruthish55

Posted on December 26, 2013 at 9:57 am

highprofileshruthi.com For top quality dating services at an unbeatable rate, don’t look anywhere else. I have an extensive fleet of dating services and dinner dates to choose from so you’ll be certain to find the right girls to suit your needs.

Wicked temptations Coupons

Posted on February 3, 2014 at 11:17 am

I’m really impressed with your writing skills as well as
with the layout on your weblog. Is this a paid theme or did you modify it yourself?
Anyway keep up the nice quality writing, it is rare to see a great blog like this one these
days.

ahmedabad escorts

Posted on April 3, 2014 at 9:25 am

Ahmedabad Escorts Provides Escorts in Ahmedabad, Ahmedabad Escorts,Ahmedabad Escort, Sexy Ahmedabad Escort,Ahmedabad Independent Escorts Ahmedabad Escorts, Independent Ahmedabad Escorts, Escorts in Ahmedabad, Independent Escorts in Ahmedabad, Female escorts in Ahmedabad, Ahmedabad Escorts Services, Ahmedabad call girls

Mumbai Escorts

Posted on April 20, 2014 at 1:53 pm

Our Mumbai escorts will absolutely going to finish each and everything into the way you always desired and all this is possible

Saloni Verma

Posted on April 20, 2014 at 1:54 pm

Our Mumbai belong to different profession and classes of society so you don’t have to bother about the services.

Ajnali Jha

Posted on April 20, 2014 at 1:55 pm

Best Mumbai model Ajnali Jha Avilable Now.

tina mehta

Posted on May 8, 2014 at 7:33 pm

If you get the service from a Delhi Escort once in your life you will never Teaching the engrossed flow of your regular life. You will forever memories Our Best service of Delhi Independent Escorts

chitra mallik

Posted on May 8, 2014 at 7:34 pm

Welcome it’s me Chitra Malik settled in Delhi city working as escort worker has been best in my class I travel all over India and also meet international clients same time as been associated with fashion

aliya sheikh

Posted on May 8, 2014 at 7:34 pm

Aliya Sheikh freedom that comes with the professional escort being at your side on out dates is combined with the sense of sophistication that my services offer To Our Clients

ankith bangalore

Posted on May 8, 2014 at 7:35 pm

Ankith Bangalore Escorts is among the finest ideas before loneliness. They are going to adjust your feelings Very quickly. It will require scarcely five minutes for getting anyone excited

kainaat khan

Posted on May 8, 2014 at 7:36 pm

Kainaat Khan is my mid-twenties with attractive silky-soft long tail hair, a delicately well-defined face and the most impressing black eyes that you will ever see.

aarushimodel

Posted on May 24, 2014 at 12:14 am

I am an aspiring model, young 23 years of age, beautiful with long and silky hairs.

shruthish55

Posted on May 30, 2014 at 9:16 am

Anni is Bangalore escorts services in India, top leading cheap Bangalore escorts services provider in India offers decent and reliable service 24/7.

Aliya Sharma

Posted on May 31, 2014 at 12:59 pm

High Profile Escort Service in Delhi like this post. And i am very happy that i have read such kind of informative post. Thanks.
Genuinely clever hints here mate! Thank you for sharing it!

Escort Service

Posted on May 31, 2014 at 1:02 pm

i like this post. And i am very happy that i have read such kind of informative post. Thanks.
Genuinely clever hints here mate! Thank you for sharing it!

Tara Walia

Posted on June 3, 2014 at 12:12 pm

Tara Walia – escorts in Mumbai Said You are taking too much time to find best Mumbai escorts service for your date? Then i am the ideal escorts provider in Mumbai with best apartment.

Pooja

Posted on June 5, 2014 at 9:03 am

Pooja Hyderabad Escorts Very nice blog love to find such great post here. Thanks very much for posting. It is a superb post.

Suman

Posted on June 5, 2014 at 9:05 am

Suman Mumbai EscortsThe post is great and easy to read and understand. Thanks for sharing. All is to say what a great blog post is this.

Sonia pandey

Posted on June 7, 2014 at 2:55 pm

You can also recommend your friends about me if they are elite gentlemen and like to meet an VIP Mumbai Escorts for fun and enjoyment . My previous experiences with different gentleman was very nice and in future I want gentleman with an impressive personality and good nature.

Delhi 69

Posted on June 21, 2014 at 12:47 pm

As an Independent Delhi Escort. I always respect the feelings of clients. i try my best to give a desirous romantic movement to you for book me u can call Call 24*7 and at least two hr notice is mandatory for booking in all over Delhi.

Sonia Delhi Escorts

Posted on July 15, 2014 at 6:50 am

I am going to subscribe, so I can learn more. I can't wait to receive updates through e-mail.

Jessica Kapoor

Posted on July 15, 2014 at 6:51 am

Jessica Kapoor is professional model in Mumbai society so you don’t have to more about the my services.

Pepi

Posted on July 15, 2014 at 6:20 pm

hello guys i'm dipali an erotic independent girl in delhi, provide passionate companionship service to gentleman.

Delhi

Posted on July 15, 2014 at 6:23 pm

Amanda is Independent Delhi Agency which provides the best high professional,Models and beauty in Delhi.

Dipali Sharma

Posted on July 15, 2014 at 6:24 pm

A sexy Independent Delhi Escort girl offering incall and outcall Delhi Escorts Service. Call my manager:

adityagargsg

Posted on July 29, 2014 at 6:59 am

adityagargsg

Posted on July 29, 2014 at 7:00 am

Wedding Planner aditya is a group of creative people which can make this special wedding day more special for you. Your celebration is our passion. Just come to us and we are ready to serve… http://weddingplanneraditya.com

adi

Posted on July 30, 2014 at 5:36 am

adi

Posted on July 30, 2014 at 5:36 am

In this blog we have explained a list of things men notice first. I bet this blog will change the way you of thinking about true MEN

Post a comment

Hello guest, care to post a comment?