Giter VIP home page Giter VIP logo

alfred2-flushdns-workflow's Introduction

#Alfred 2 Flush DNS Workflow

Flush the DNS cache in OS X (10.9+).

##Download

For an easy installation, you can download the exported workflow here: flushdns.alfredworkflow

##Usage

###Keyword: fdns

No arguments will prompt you for a user and password.

For more convenience, you can also enter your password after the keyword (separated by a space). This is much quicker, and don't worry: this workflow does not store or submit any data. If the password happens to be wrong, you will see the regular prompt by the system.

Success or errors are reported through a notification.

Command used:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

If mDNSResponder is not available (currently only the case for OS X 10.10 - 10.10.3, see this link), the following command for Discoveryd is used:

sudo discoveryutil mdnsflushcache; sudo discoveryutil udnsflushcaches

##Changelog

####v1.1.1

  • Bugfix for OS X 10.10.4+

####v1.1

  • Updated for compatibility with OS X 10.10 Yosemite
  • Improved error handling
  • Minimum requirement upped to OS X 10.9 Mavericks (though it might still work on OS X 10.7 / 10.8)

####v1.0

  • Initial release

alfred2-flushdns-workflow's People

Contributors

cdraeger avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.