Today 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
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.
I know that there is more to responce than just latency but pinging 8.8.8.8 averages 19/20 ms, 4.2.2.2 is nearer 80.
nice!!!
Love u goooooooogle