Skip to main content

Is their a way to do this via a bash script? Additionally, is it possible to bypass having to enter an administrative password on every users machine?

Thank you!

You could create a new policy
go to 'files and processes'
Execute Command field neter the following:


killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache

This runs as root so no admin details required

G'LUCK!