Simple command to Flush DNS cache. Compatible with 10.6 through to 12.0. Takes no arguments but asks for system password to run task as an admin user.
Triggered with keyword flush
Any issues, please log on the Alfred Forums
Update 04/08/2021: Added support for macOS Monterey 12.0. Commands remain the same based on early Betas. Update 12/12/2020: Bug Fix Update 06/12/2020: Support for macOS Big Sur 11.0 - Re-written code. Also allowed future to use the current command if it remains valid without future release. Update 22/12/2019: Support for macOS Catalina 10.15. Update 20/1/2019: Support for macOS Mojave 10.14. Update 20/4/2018: Updated icon. Update 24/1/2018: Support for macOS High Sierra 10.13. Update 12/1/2017: Support for macOS Sierra 10.12.