Created
September 12, 2022 09:53
-
-
Save apavamontri/a2833c7e4e8392798180ae13e7059464 to your computer and use it in GitHub Desktop.
Stop pihole with docker compose and revert DNS on wifi (macOS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker compose down | |
sudo networksetup -setdnsservers Wi-Fi empty | |
sudo killall -HUP mDNSResponder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment