DNS Switcher for Ubuntu Gnome
Project description
Gnome appindicator dns switcher
Setup
# Copy sample config
cp config.sample.yml config.yml
# Adjust your configuration
edit config.yml
Running
python3 __main__.py
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.0.0.tar.gz
(18.2 kB
view hashes)
Built Distribution
Close
Hashes for gnome_dns_switcher-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49dbf6613f17d3841fc1da6cf5a1023fe35709549e71e1880047cf68ec4a1f5b |
|
MD5 | f140c667043ac2d2d7f9b8f8415ed68b |
|
BLAKE2b-256 | afda21746232534ddfd59de9c75d3220f3e5f8912b6ff8b9b5ac63cbfa5ff32c |