Name service lookups fail - SnowLeopard
Firefox can't find the server at www.google.com.
even though I have just been to other non-cached www.google.com pages.
I have seen the forum threads
http://discussions.apple.com/thread.jspa?threadID=2140119
http://discussions.apple.com/thread.jspa?threadID=2200670
http://discussions.apple.com/thread.jspa?threadID=2159790
http://discussions.apple.com/thread.jspa?threadID=2132856
and tried some of the things there. I.e. I have switched from fixed DNS settings to using my router via DHCP, and I still see the problem.
When I see the problem, I can open terminal and ping the name and I get
ping: cannot resolve www.google.com: Unknown host
but if I dig the A record, it is there. Here's an example with this forum's web site - dig succeeds, ping fails, dig succeeds, ping fails:
Macintosh-2:~ msapiro$ dig discussions.apple.com
; <<>> DiG 9.6.0-APPLE-P2 <<>> discussions.apple.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24981
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 9, ADDITIONAL: 2
;; QUESTION SECTION:
;discussions.apple.com. IN A
;; ANSWER SECTION:
discussions.apple.com. 600 IN CNAME discussions.apple.com.edgesuite.net.
discussions.apple.com.edgesuite.net. 18717 IN CNAME a1399.b.akamai.net.
a1399.b.akamai.net. 20 IN A 66.51.197.168
a1399.b.akamai.net. 20 IN A 66.51.197.167
;; AUTHORITY SECTION:
b.akamai.net. 1800 IN NS n7b.akamai.net.
b.akamai.net. 1800 IN NS n8b.akamai.net.
b.akamai.net. 1800 IN NS n0b.akamai.net.
b.akamai.net. 1800 IN NS n1b.akamai.net.
b.akamai.net. 1800 IN NS n2b.akamai.net.
b.akamai.net. 1800 IN NS n3b.akamai.net.
b.akamai.net. 1800 IN NS n4b.akamai.net.
b.akamai.net. 1800 IN NS n5b.akamai.net.
b.akamai.net. 1800 IN NS n6b.akamai.net.
;; ADDITIONAL SECTION:
n5b.akamai.net. 719 IN A 66.51.197.165
n8b.akamai.net. 739 IN A 72.246.103.31
;; Query time: 333 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Tue Oct 27 14:10:43 2009
;; MSG SIZE rcvd: 343
Macintosh-2:~ msapiro$ ping discussions.apple.com
ping: cannot resolve discussions.apple.com: Unknown host
Macintosh-2:~ msapiro$ dig discussions.apple.com
; <<>> DiG 9.6.0-APPLE-P2 <<>> discussions.apple.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64284
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 9, ADDITIONAL: 2
;; QUESTION SECTION:
;discussions.apple.com. IN A
;; ANSWER SECTION:
discussions.apple.com. 548 IN CNAME discussions.apple.com.edgesuite.net.
discussions.apple.com.edgesuite.net. 18665 IN CNAME a1399.b.akamai.net.
a1399.b.akamai.net. 20 IN A 66.51.197.168
a1399.b.akamai.net. 20 IN A 66.51.197.167
;; AUTHORITY SECTION:
b.akamai.net. 1748 IN NS n5b.akamai.net.
b.akamai.net. 1748 IN NS n6b.akamai.net.
b.akamai.net. 1748 IN NS n7b.akamai.net.
b.akamai.net. 1748 IN NS n8b.akamai.net.
b.akamai.net. 1748 IN NS n0b.akamai.net.
b.akamai.net. 1748 IN NS n1b.akamai.net.
b.akamai.net. 1748 IN NS n2b.akamai.net.
b.akamai.net. 1748 IN NS n3b.akamai.net.
b.akamai.net. 1748 IN NS n4b.akamai.net.
;; ADDITIONAL SECTION:
n5b.akamai.net. 667 IN A 66.51.197.165
n8b.akamai.net. 687 IN A 72.246.103.31
;; Query time: 388 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Tue Oct 27 14:11:34 2009
;; MSG SIZE rcvd: 343
Macintosh-2:~ msapiro$ ping discussions.apple.com
ping: cannot resolve discussions.apple.com: Unknown host
Macintosh-2:~ msapiro$
This is a Wi-Fi WPA-shared key connection. when the problem occurs, I can at least sometimes fix it by disconnecting the airport and reconnecting. It started after I upgraded from Leopard.
iMac4,1, Mac OS X (10.6.1)