Skip to content

rollsicecream/privacy-dns-chooser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Privacy DNS Chooser Script for Linux

Welcome to the Privacy DNS Chooser Script for Linux! This script simplifies the process of enabling DNS-over-TLS and DNSSEC with privacy-focused DNS providers on your Linux system using systemd-resolved.

Features

  • Choose from popular private DNS providers : Quad9, Mullvad DNS, NextDNS and AdGuard DNS
  • Easy setup with a very simple but user-friendly interface.
  • Enhanced security and privacy with DNS-over-TLS and DNSSEC

Requirements

  • systemd-resolved: Ensure that the systemd-resolved package is installed on your Linux system.

How to Use

  1. Ensure systemd-resolved is installed on your Linux system.
  2. Download the script from GitHub.
  3. Run the script with sudo to choose your preferred DNS provider.

Supported DNS Providers

  • Quad9 : Secure and privacy-respecting DNS service.
  • Mullvad DNS : DNS service by the privacy-focused VPN provider Mullvad.
  • NextDNS : Advanced, feature-rich private and secure DNS filtering service. Enter your configuration number during setup.
  • AdGuard DNS : AdGuard DNS is a public DNS service offered by AdGuard, a company known for its ad-blocking and privacy-enhancing solutions.

Important

This script is designed for use with systemd-resolved. Ensure it's installed before running.

Feedback

I welcome your feedback! Report issues or share suggestions on GitHub Issues.

Installation

curl -O https://github.com/rollsicecream/privacy-dns-chooser/privacy_dns_chooser.sh
chmod +x privacy_dns_chooser.sh
sudo ./privacy_dns_chooser.sh

The script broke my Internet!

It should be a bug. Report an issue first via GitHub Issues. To restore Internet access to your machine, launch these commands in the terminal :

curl -O https://github.com/rollsicecream/privacy-dns-chooser/rescue.sh
chmod +x rescue.sh
sudo ./rescue.sh

This script will revert /etc/systemd/resolved.conf to his default state.

Disclosure about NextDNS usage

During DNS setup, the user, if they choose NextDNS as their choice, should enter their configuration number (e.g. a12345). This configuration number will not and will never be sent to any server. This number will stay safe.

License

This program is licensed under the GNU General Public License v3.0.