Skip to content

nbcarey/flush-dns-osx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flush-dns-osx

Shell script to flush the DNS cache for various flavors of OS X

Usage

flush-dns

Installation

Installing and uninstalling this is easy. Just download the latest release from https://github.com/nbcarey/flush-dns-osx/releases. The easiest way to unpack it is via the finder. Just double-click on the *.zip or *.tar.gz file and let the Finder do its thing.

Then open a command shell, cd down to the unpacked directory and run

  • sudo make install to install it, or
  • sudo make uninstall to uninstall it.

If you don't have make installed, you need to run these commands to install it:

sudo cp ./flush-dns.sh /usr/local/bin/flush-dns
sudo chmod 0755 /usr/local/bin/flush-dns
sudo chown root:wheel /usr/local/bin/flush-dns

To remove it:

sudo rm /usr/local/bin/flush-dns

References