Skip to content

Instantly share code, notes, and snippets.

@haydonryan
Created May 6, 2017 14:25
Show Gist options
  • Select an option

  • Save haydonryan/0a12ad78bf534bd08b6a8b84de5cb3f8 to your computer and use it in GitHub Desktop.

Select an option

Save haydonryan/0a12ad78bf534bd08b6a8b84de5cb3f8 to your computer and use it in GitHub Desktop.

Revisions

  1. Haydon Ryan revised this gist May 6, 2017. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions Mac OSX sierra clear dns cache
    Original file line number Diff line number Diff line change
    @@ -1 +1,4 @@
    sudo killall -HUP mDNSResponder;say DNS cache has been flushed


    sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache;say MacOS DNS cache has been cleared
  2. Haydon Ryan created this gist May 6, 2017.
    1 change: 1 addition & 0 deletions Mac OSX sierra clear dns cache
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache;say MacOS DNS cache has been cleared