2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/dscacheutil
2017-06-04 14:14:23 +00:00

13 lines
305 B
Plaintext

# dscacheutil
# Gather information, statistics and initiate queries to the Directory Service cache.
# Flush the DNS cache
# in OS X 10.9 Mavericks
dscacheutil -flushcache
# to clear DNS cache in 10.7 and 10.8
killall -HUP mDNSResponder
# Show DNS resolver statistics (Mac OS X)
dscacheutil -statistics