2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/dscacheutil
2020-11-22 21:21:48 +01:00

13 lines
293 B
Plaintext

# dscacheutil
# Gather info, stats 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