From 4249556b1d2ddc955ec59cdd9447b93cfc17d367 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Thu, 3 Sep 2015 18:49:54 +0100 Subject: [PATCH] Updated the flush DNS command for Yosemite. discoveryutil is no longer available. --- bin/flush-dns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/flush-dns b/bin/flush-dns index 4cdafa8..1d7a42f 100755 --- a/bin/flush-dns +++ b/bin/flush-dns @@ -12,7 +12,7 @@ function sorry() case ${OS} in Darwin) case ${REL} in - 14.*) sudo discoveryutil udnsflushcaches + 14.*) sudo dscacheutil -flushcache ;; 13.*) sudo pkill mDNS ;;