Skip to main content

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

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)

Uploaded Source

Built Distribution

gnome_dns_switcher-1.1.0-py3-none-any.whl (27.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page