Jump to content

Flush DNS 10.6 -> 12.0


Recommended Posts

I needed to add semi-colons to the bash function to get this working for me

 

modern1 () { osascript -e 'do shell script "sudo killall -HUP mDNSResponder" with administrator privileges'; }
modern2 () { osascript -e 'do shell script "sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder" with administrator privileges'; }

 

Link to comment
On 12/10/2020 at 11:49 PM, sid said:

I needed to add semi-colons to the bash function to get this working for me

 


modern1 () { osascript -e 'do shell script "sudo killall -HUP mDNSResponder" with administrator privileges'; }
modern2 () { osascript -e 'do shell script "sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder" with administrator privileges'; }

 

 

Hi, thanks for the heads up. Version 2.0.2 pushed to Packal

Link to comment
  • harvey changed the title to Flush DNS 10.6 -> 12.0

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...