-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
001-dnsswitcher.1d.sh: #2016
Comments
Looking at the plugin, you would need to edit the script as follows. First, you need to define the list of DNS servers you want to use from Control D. Where you mention wanting to also use Cloudflare, look for this block in the script # shellcheck disable=2034
cloudflare="1.1.1.1
1.0.0.1" and add your Control D IP addresses after it # shellcheck disable=2034
cloudflare="1.1.1.1
1.0.0.1"
# shellcheck disable=2034
controld="X.X.X.X
Y.Y.Y.Y" Where you just want these two, you want to change this line enabled_dns_address=(cloudflare google level3 opendns norton default) to be this enabled_dns_address=(cloudflare controld default) Once you have saved those changes, reload the plugin. Should see just Cloudflare and Control D servers as options. |
Thanks for the quick reply! That worked great to edit the server list. And now the plugin displays the current dns settings in xbar. But it doesn't change to a different server when I click on it in xbar. I'm running Sonoma 14.3, in case that has anything to do with it. |
I am not using this plugin anymore @everykindofpeople xbar-plugins/Network/dnsswitcher.1d.sh Line 101 in 584c6df
I think you can try that it's still working fine with Sonoma or not by running the networksetup directly in your terminal, but try to close the Xbar app first. This tutorial may helpful for you https://blog.kandji.io/managing-network-settings-on-macos-big-sur-and-mac-address-randomization-in-ios-14 |
the commands generated themselves work from the tmp dir, just not through xbar |
heres how i fixed it, replace script echo echo "$dns_name | refresh=true shell=bash param1=$switcher" |
Could you verify if the fix from @neoighodaro works for you? |
My troubles were in January. I ended up creating an app in Automatorn instead. I can't remember the details. It's been working. That's all I know. Thanks for the replies. |
fao @saiqulhaq -
I'm new to this and not familiar with scripts. I want to be able to toggle between Control D dns service and Cloudflare from bar. How do I enable this plugin? Any help is appreciated. Thanks
The text was updated successfully, but these errors were encountered: