Just whipped up a BitBar plugin to quickly change your DNS settings:
Works :)
why when i use "Use default DNS" i have this error:
"WiFi resolvers: There aren't any DNS Servers set on WIFI"
I maked different tries but always the same message.
In wifi option i have obviously only this "dns": 127.0.0.1
This is not an error.
so, what is the purpose of this script? _Maybe i have not understood. I thought about it to switch between "standard" dns and dnscrypt 127.0.0.1
Thanks
Yes, this is what it does.
so ok.. but when i switch to standard dns, nothing happens in dns setting, there is always only 127.0.0.1 so in this "sense" it is not useful because there is no switch on my side.
How can solve this problem?
I mean: when i set Use default DNS i want that it set for example 8.8.8.8 and when i set Use dnscrypt i want that it set 127.0.0.1 and so on
default is no specific IP address, so it will use what the router (or whatever provides DHCP) suggests.
You can use an unauthenticated server as well. By default it is Quad9, but you can replace it with Google if you like. Look at the beginning of the file and change what you want accordingly:
I think it works not good for what i need i think, btw thanks ;)
Got my own BitBar plugin now, originally derived from this one: https://github.com/JayBrown/DNSCrypt-Menu
@JayBrown Wow, this is really neat!
Curious .. Is BitBar still supported? v2b10 is getting up to 2 years old.
Well... it works...
There's a rewrite in Swift: https://github.com/oleander/bitbar
Not sure how it compares.
Most helpful comment
Got my own BitBar plugin now, originally derived from this one: https://github.com/JayBrown/DNSCrypt-Menu