Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbsgn/77d261ae425e8671bcb9 to your computer and use it in GitHub Desktop.
Save rbsgn/77d261ae425e8671bcb9 to your computer and use it in GitHub Desktop.

Patch flushDNSCache function located in /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh with following code inside case statement:

10.10 )
  if [ -x /usr/sbin/discoveryutil ] ; then
    /usr/sbin/discoveryutil mdnsflushcache
    logMessage "Flushed the DNS Cache"
  else
    logMessage "/usr/sbin/discoveryutil not present. Not flushing the DNS cache"
  fi
  ;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment