Skip to content

Instantly share code, notes, and snippets.

@pozgo
Created September 18, 2016 16:46
Show Gist options
  • Save pozgo/a83c6e17bc268cf40343d14d4bf32c11 to your computer and use it in GitHub Desktop.
Save pozgo/a83c6e17bc268cf40343d14d4bf32c11 to your computer and use it in GitHub Desktop.
#!/bin/bash
# dnsmasq restarting snippet. Works with El Capitan 10.11.x and Sierra 10.12
sudo killall -9 mDNSResponder; sudo killall -9 dnsmasq
echo "DNS Restarted"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment