Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TrevorB

macrumors newbie
Original poster
Nov 28, 2009
9
0
I've just bought a new Mac Mini, hoping to do some iPhone SDK development. I've had a few struggles with it so far, but by far the biggest trouble is that it randomly drops off the internet every half hour or so.

Now at first I thought this was a wireless router issue, but the exact same behaviour appears regardless if I'm connecting with a wireless or wired connection.

It's very strange. Some apps (Firefox, Safari) complain they can't connect to the internet anymore, while other apps work just fine. Digging a bit deeper, it looks like a DNS problem of some sort. I can connect to a server by IP address, but the DNS lookup seems to be failing for some apps.

However, the DNS servers I'm connecting to seem to be working just fine for other Windows machines, or even for nslookup in the terminal. For example:

Trevors-Mac-mini:~ trevor$ ping webmail.shaw.ca
ping: cannot resolve webmail.shaw.ca: Unknown host
Trevors-Mac-mini:~ trevor$ nslookup webmail.shaw.ca
Server: 64.59.144.16
Address: 64.59.144.16#53

Non-authoritative answer:
Name: webmail.shaw.ca
Address: 64.59.134.10

Trevors-Mac-mini:~ trevor$ ping 64.59.134.10
PING 64.59.134.10 (64.59.134.10): 56 data bytes
64 bytes from 64.59.134.10: icmp_seq=0 ttl=121 time=28.879 ms
64 bytes from 64.59.134.10: icmp_seq=1 ttl=121 time=26.769 ms
^C
--- 64.59.134.10 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 26.769/27.824/28.879/1.055 ms
Trevors-Mac-mini:~ trevor$ ping webmail.shaw.ca
ping: cannot resolve webmail.shaw.ca: Unknown host
Trevors-Mac-mini:~ trevor$

This has led me to a bit of frustration.

A simple fix is to unplug and replug in the Cat5e cable in the back, but I'd rather not do that every half hour.

Does anyone here know what might be going wrong? Thanks in advance!
 
Hmm, I'm suspecting this was a bad DNS entry on my router's DHCP server. Do Macs rotate between DNS servers if they receive three from the server?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.