DNS Switcher for Ubuntu Gnome
Project description
Gnome appindicator dns switcher
https://pypi.org/project/gnome-dns-switcher/
Setup
# sudo so the script is added to $PATH, you can also install normally and fix $PATH :)
sudo pip3 install gnome-dns-switcher
- Create a config.yml, see Config
Running
gnome-dns-switcher --config /path/to/config.yml
Config
Sample:
servers:
CloudFlare: 1.1.1.1
Google DNS:
- 8.8.8.8
- 8.8.4.4
localhost: 127.0.0.1, 127.0.1.1
devices:
- wlp2s0
Explanation
servers:
- A list of servers that can be switched between
- Name is just used for displaying
- You can define one or more ips
- On launch, we'll try to detect if the current settings match any of the servers
devices:
- optional, will display all non-bridge connections otherwise
- one or more devices to show in the switcher
- List all your devices by running
ip link show
in a terminal
- List all your devices by running
You possibly need to install these dependencies
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
Useful links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gnome-dns-switcher-1.2.0.tar.gz
(18.2 kB
view hashes)
Built Distribution
Close
Hashes for gnome_dns_switcher-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4069ea7b2f7374a323d9e2e359d9044447698a6e222eb1c912fc52a7c84ab7e0 |
|
MD5 | 846705045b8fda3e5ee604db51768869 |
|
BLAKE2b-256 | 5796dbaaa3d0688f3c9300343adc782af44421c7960f22e6b2340d54f6ebfbfa |