🖥️dscacheutil

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the dscacheutil command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#  ██████╗ ███████╗ ██████╗ █████╗  ██████╗██╗  ██╗███████╗██╗   ██╗████████╗██╗██╗     
#  ██╔══██╗██╔════╝██╔════╝██╔══██╗██╔════╝██║  ██║██╔════╝██║   ██║╚══██╔══╝██║██║     
#  ██║  ██║███████╗██║     ███████║██║     ███████║█████╗  ██║   ██║   ██║   ██║██║     
#  ██║  ██║╚════██║██║     ██╔══██║██║     ██╔══██║██╔══╝  ██║   ██║   ██║   ██║██║     
#  ██████╔╝███████║╚██████╗██║  ██║╚██████╗██║  ██║███████╗╚██████╔╝   ██║   ██║███████╗
#  ╚═════╝ ╚══════╝ ╚═════╝╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝╚══════╝ ╚═════╝    ╚═╝   ╚═╝╚══════╝

# 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
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░