I'd like to disable Safari on Mac OS X from performing DNS caching.
Is there a way to do that through configuration or any other setting ?
Clear the OS cache:
sudo killall -HUP mDNSResponder
Disable Safari DNS prefetching:
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false
Update: for Yosemite to clear the cache you want:
sudo discoveryutil udnsflushcaches
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With