 g4jedi join:2002-12-23 Escondido, CA | [OS X] MacOS 10.5 Leopard DNS Issues Ever since I upgraded to Leopard (and now 10.5.1) I am having what appears to be a DNS issue. Some sites load slow or not at all. When they wont load at all, I get the "network diagnostics" screen. Heck, sometimes even the Apple site wont come up for me! Has anyone else had this problem? |
|
 bbarreraPremium,MVM join:2000-10-23 Sacramento, CA kudos:1 Reviews:
·SureWest Internet
| Happened to me yesterday in Safari. However Camino and Firefox and everything else was working fine so it wasn't a DNS problem. Appears to be a Safari problem. Resetting Safari didn't fix it. Logging out and logging in didn't fix it, Only way to fix it was rebooting. No problems today. |
|
 g4jedi join:2002-12-23 Escondido, CA | reply to g4jedi You are right. It is clearly a Safari problem. A site that cannot be found in Safari, comes up with two shakes of a lambs tail in Fire Fox! Apple clearly needs to fix this bug! |
|
 MarkyDPremium join:2002-08-20 Oklahoma City, OK | reply to g4jedi Leopold has made me loathe Safari. -- MCSE, ACSA, and a lot more |
|
 bbarreraPremium,MVM join:2000-10-23 Sacramento, CA kudos:1 | Yeah for about 15 minutes I was pretty pissed off at Safari and Leopold. |
|
 g4jedi join:2002-12-23 Escondido, CA | reply to g4jedi Yeah... it's very sporadic I have noticed. Sometimes Safari is lightning fast and sometimes slow or not loading a site at all. Firefox is sometimes slow, but at least the site always loads. While Safari is definitely flawed, Leopard has a definite DNS issues with some ISPs. I did a little Googling. |
|
 bbarreraPremium,MVM join:2000-10-23 Sacramento, CA kudos:1 | Install Camino if you want the best of Firefox and Safari all rolled into one browser. |
|
 SebehkXBL SebehkPremium join:2002-02-09 Chula Vista, CA Reviews:
·AT&T U-Verse
·Cox HSI
| reply to g4jedi I have no issues with Safari on 10.5.1, mainly because I don't use my ISP's DNS; I use OpenDNS and it works fast!
--->Robert 8-) -- The Dopeler Effect (n.) - The tendency of stupid ideas to seem smarter when they come at you rapidly. |
|
 bbarreraPremium,MVM join:2000-10-23 Sacramento, CA kudos:1 Reviews:
·SureWest Internet
| said by Sebehk:I have no issues with Safari on 10.5.1, mainly because I don't use my ISP's DNS; I use OpenDNS and it works fast! --->Robert 8-) Just wait it might happen to you, I'm running my own DNS cache and don't rely on my ISP's DNS.
In any case this is a Safari problem and NOT a dns problem. Other web browsers work fine and the problem is limited to Safari. |
|
 shavanoEven in America -- I long for America join:2003-06-08 Dallas, TX | reply to g4jedi For a while yesterday, Safari decided it couldn't resolve dslreports.com, though Firefox, Camino and CLI had no problems.
It started after I disconnected my firewall from my cable modem for a minute and one of the thread auto-refreshes timed out.
I fooled with trying several things to get it reset for 15 minutes before giving up and restarting the Mac. Then it was fine. -- Spineless, pandering Congressional Democrats ... the only thing worse is ANY Republican. Throw all the bums out. |
|
 rexbinaryMod KingPremium join:2005-01-26 Plano, TX | reply to g4jedi I haven't seen any DNS issues on Safari under Leopold. I use OpenDNS as well, good stuff. |
|
|
|
 g4jedi join:2002-12-23 Escondido, CA | reply to g4jedi Ok I checked out Open DNS and all I can say is... WOW! Everything loads way faster now. Even in SAFARI!!! |
|
 bobrkYou kids get offa my lawnPremium join:2000-02-02 San Jose, CA | How come y'all don't just use the DNS from your ISP? |
|
 g4jedi join:2002-12-23 Escondido, CA | I was! Open DNS just seems to work better. |
|
 bbarreraPremium,MVM join:2000-10-23 Sacramento, CA kudos:1 Reviews:
·SureWest Internet
1 edit | reply to shavano said by shavano:For a while yesterday, Safari decided it couldn't resolve dslreports.com, though Firefox, Camino and CLI had no problems. It started after I disconnected my firewall from my cable modem for a minute and one of the thread auto-refreshes timed out. Something similar here, but included all the other websites open in tabs (DSLreports, Gmail, etc).
said by g4jedi:Ok I checked out Open DNS and all I can say is... WOW! Everything loads way faster now. Even in SAFARI!!! Imagine OpenDNS but even faster (because it is on your LAN). That's what its like having a dns cache running on your LAN. One reason I'm running my own dns cache and not using my ISP's dns cache. |
|
 bbarreraPremium,MVM join:2000-10-23 Sacramento, CA kudos:1 Reviews:
·SureWest Internet
| reply to g4jedi I think the issue is that Safari relies on Directory Services cache (replaces lookupd), and after waking up from sleep the MacBook Pro tags www.dslreports.com as "Neg" which I *assume* means negative and that causes Safari to ignore the IP address that is in the Directory Services cache.
Here you can see that when there is a problem in Safari, the dns entry is tagged "YES" under the Neg column.
% dscacheutil -cachedump -entries host
...
...
Cache entries (ordered as stored in the cache):
Category Best Before Last Access Hits Refs TTL Neg DS Node
---------- ------------------ ------------------ -------- ------ -------- ----- ---------
...
...
Host 11/19/07 07:56:34 11/19/07 06:59:11 2 2 3600 YES
Key: h_name:www.dslreports.com ipv4:1 ipv6:1
...
...
And here you can see Directory Services cache in fact knows the IP address of dslreports.com
% dscacheutil -q host -a name www.dslreports.com
name: dslreports.com
alias: www.dslreports.com
ip_address: 209.123.109.175
Therefore if I'm correct then there is a race condition when the MBP comes out of sleep and the network isn't available before Directory Services Cache goes out looking for the IP address. Therefore *occasionally* one or a few DNS lookups fail after waking from sleep and those are tagged Negative for 3600 seconds (one hour).
I'm reporting the issue to Apple. |
|
 bbarreraPremium,MVM join:2000-10-23 Sacramento, CA kudos:1 | Almost forgot to post the workaround.
This terminal command will fix the problem:
dscacheutil -flushcache
by flushing all the DNS entries in the cache and forcing new lookups. |
|
 bobrkYou kids get offa my lawnPremium join:2000-02-02 San Jose, CA | reply to bbarrera Great analysis! Good catch! |
|