We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cdd9d3 commit 2a1b523Copy full SHA for 2a1b523
unbound/unbound.zsh
@@ -0,0 +1,5 @@
1
+if ! $(networksetup -getdnsservers Wi-Fi | grep -q "127.0.0.1");
2
+then
3
+ echo "Setting WiFi DNS to localhost"
4
+ networksetup -setdnsservers Wi-Fi 127.0.0.1
5
+fi
0 commit comments