DNS Switcher for Ubuntu Gnome
Project description
Gnome appindicator dns switcher
Setup
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.1.0.tar.gz
(18.3 kB
view hashes)
Built Distribution
Close
Hashes for gnome_dns_switcher-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10c6f6ce15f07b988e4c6f688e878cf74f00824af8933f5c0bb6cd9c4858ee0f |
|
MD5 | f32bf16345a231e9823edd0cef0a3361 |
|
BLAKE2b-256 | 58ca155b0dc71fee88c33a53a4cfd6a15e31e01f626f0bfbd5506c84afb0b7ac |