Google Public DNS: 8.8.8.8 and 8.8.4.4

Google (featured logo)

googleToday Google unveiled its new project: Google Public DNS. It means now anybody can use Google’s DNS managed servers for resolving domain names into IP addresses and back. According to Google it should speedup browsing as well as security. Hope I won’t see adsense ads once tried to load expired domain name (that’s how OpenDNS acts today).

Here are easy-to-remember Google Public DNS IP addresses: 8.8.8.8 and 8.8.4.4.

In order to set up Google public DNS to your Linux settings place the following lines into /etc/resolv.conf:

nameserver 8.8.8.8
nameserver 8.8.4.4

Use command dig @8.8.8.8 linuxscrew.com to test how long it takes to resolve linuxscrew.com:

admin@admin-laptop:~$ dig @8.8.8.8 linuxscrew.com
...
;; ANSWER SECTION:
linuxscrew.com. 51844 IN A 69.164.195.222

;; Query time: 80 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Dec 3 21:53:29 2009
;; MSG SIZE rcvd: 48

SHARE:
nv-author-image

Stefan Durand

My name is Stefan, I'm the admin of LinuxScrew. I am a full-time Linux/Unix sysadmin, a hobby Python programmer, and a part-time blogger. I post useful guides, tips, and tutorials on common Linux and Programming issues. Feel free to reach out in the comment section.

3 thoughts on “Google Public DNS: 8.8.8.8 and 8.8.4.4”

  1. I googled open DNS vs. Google Puble DNS and found this story or blog titled "Google turns the page… in a bad way." I think is worth reading.

Leave a Reply

Your email address will not be published. Required fields are marked *