-
-
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 |
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: