MacBook Pro 10.6 losing dns service, network connection still functional if you know the ip address.

Posted by Vincent on Super User See other posts from Super User or by Vincent
Published on 2010-12-09T01:56:32Z Indexed on 2011/01/13 9:55 UTC
Read the original article Hit count: 292

Filed under:
|
|
|
|

MacBook pro connected to a wireless network (not sure about wired) I lose DNS. I still have a functioning connection and as long as I know the ip address of the website, server... for example skype works, ssh name@ipaddress, ....

Things can be working properly and then just quit, Once I was im via skype and lost dns skype continued to work.

This has happened in multiple locations on private and public networks. What does not work/fix it:

  • Resetting router
  • changing dns server on computer or router
  • connecting to another network
  • removing the airport interface and adding it back
  • flushing dns

The only solution seems to be a restart.

A solution to this would be great, but any ideas of this to try would be great. Even a sure way to reproduce this would be useful.

Maybe related question: But this is most definitely not true for me. "if I refresh enough -- 3 to 4 times --, it will usually pull up the site. "

Here are some tests from terminal. Basically this confirms dns in not functioning

vmd17:~ vmd$ ping google.com 
ping: cannot resolve google.com: Unknown host

Trace route to google dns, This works

vmd17:~ vmd$ /usr/sbin/traceroute -n -w 2 -q 2 -m 30 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 52 byte packets
1 192.168.1.1 5.195 ms 2.519 ms
2 67.172.136.1 31.881 ms 9.177 ms
3 68.85.107.121 12.168 ms 10.003 ms
4 68.86.103.41 12.021 ms 9.594 ms
5 68.86.91.1 16.712 ms 12.837 ms
6 68.86.86.210 29.951 ms 25.826 ms
7 68.86.87.218 29.554 ms 42.894 ms
8 75.149.231.70 68.271 ms 68.362 ms
9 72.14.233.77 141.178 ms
72.14.233.85 82.553 ms
10 72.14.238.243 83.381 ms 82.811 ms
11 72.14.232.213 194.387 ms
72.14.232.215 84.837 ms
12 209.85.253.145 100.294 ms *
13 8.8.8.8 101.689 ms 89.694 ms

208.67.222.22 is the ip address of opendns dns server

vmd17:~ vmd$ dig @208.67.222.222 8.8.8.8
; <<>> DiG 9.6.0-APPLE-P2 <<>> @208.67.222.222 8.8.8.8
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
vmd17:~ vmd$ dig @208.67.222.222 gogle.com

vmd17:~ vmd$ dig @208.67.222.222 google.com
; <<>> DiG 9.6.0-APPLE-P2 <<>> @208.67.222.222 google.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

vmd17:~ vmd$ dig @8.8.8.8 google.com
; <<>> DiG 9.6.0-APPLE-P2 <<>> @8.8.8.8 google.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached 

© Super User or respective owner

Related posts about osx

Related posts about mac