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.1.tar.gz
(18.6 kB
view hashes)
Built Distribution
Close
Hashes for gnome_dns_switcher-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 620011509dd4b7df8e15d0b67d39737159c12bac15453c7498c024ff89d8f7ea |
|
MD5 | 8c1d829a709bdd2d1c2dc2c202f6ca67 |
|
BLAKE2b-256 | ed20c22196bd8fb21926120bad44c6878391e1f2824eed94a07053c0c2b27baa |