Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I re-enable DNS prefetching?

Disabeling the DNS prefetching didn't solve my problem and now all the sites load slowly. How do i re-enable DNS prefetching through the terminal window. These were the original instructions:


http://support.apple.com/kb/TS3408


Mac OS X steps to disable DNS prefetching

1. Open Terminal (in /Applications/Utilities).

2. Execute the Terminal command below to disable DNS prefetching: defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false


Any help/advice appreciated!

Posted on Jan 2, 2013 7:21 AM

Reply
Question marked as Best reply

Posted on Jan 2, 2013 10:20 AM

See "Steps to re-enable DNS prefetching in Mac OS X" in the article.

5 replies

Nov 18, 2013 5:23 PM in response to Linc Davis

Hi Linc,


I tried using the command:


defaults delete com.apple.safari WebKitDNSPrefetchingEnabled


....in a Terminal window to re-enable DNS prefetching and I got this message after hitting enter:


2013-11-18 20:21:24.479 defaults[359:507]

Domain (com.apple.safari) not found.

Defaults have not been changed.


Any idea what this means? Am I to assume that because of this error that DNS prefetching has not been re-enabled correctly?


Thanks,

John

Apr 1, 2014 7:49 AM in response to RCully

Hi RCully....


No, I never did get an answer.........I kind of dropped the pre-fetching topic on my side because whether it was on or off, it didn't seem to make a tremendous difference on my browsing speed.


My browsing/page-loading problem actually ended up being something with my Comcast cable provider, and also an update to my antivirus software that I didn't notice come through that had an option defaulted to 'on' to check every URL on every web page against a suspecting phishing URL list. You can imagine the performance degradation from that AV option! So....I shut that AV option off and it dramatically improved my browsing speed overall, right back to where it was before.

How do I re-enable DNS prefetching?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.