CHTJonas

OSX - Flush DNS Cache

Sep 21st, 2016
106
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. echo 'Flushing the local DNS cache...'
  4. sudo dscacheutil -flushcache
  5. sudo killall -HUP mDNSResponder
RAW Paste Data