Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to clear the DNS cache on any edit or other DNS change #17

Open
2ndalpha opened this issue Feb 10, 2014 · 1 comment
Open

Comments

@2ndalpha
Copy link
Owner

Pre Mac OS 10.7, the command is:

dscacheutil -flushcache

For Mac OS 10.8 and 10.9. the command is:

sudo killall -HUP mDNSResponder

https://code.google.com/p/gmask/issues/detail?id=82

@TraderStf
Copy link
Contributor

FYI, don't know if it is correct or required for Yosemite :

Clear local DNS cache

OSX 10.10
sudo discoveryutil mdnsflushcache
sudo discoveryutil udnsflushcaches

OSX 10.9
dscacheutil -flushcache; sudo killall -HUP mDNSResponder

OSX 10.7 – 10.8
sudo killall -HUP mDNSResponder

OSX 10.5 – 10.6
sudo dscacheutil -flushcache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants