Skip to content

About

A simple interactive Bash script for Linux that lets you view and change your system DNS servers using NetworkManager (nmcli).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

DNS Changer 🌐

A lightweight, interactive Bash script for Linux that allows you to view and change system DNS servers using NetworkManager (nmcli). Designed for simplicity, transparency, and quick DNS switching without manually editing configuration files.

Bash Linux NetworkManager


✨ Features

  • Auto-Detection: Automatically identifies the active network device and current connection.
  • Live Status: Displays currently active DNS servers and provider names.
  • Quick Switcher: Instantly apply popular public DNS providers:
    • Google
    • Cloudflare
    • Quad9
    • OpenDNS
    • AdGuard
  • Custom Control: Supports manual entry for custom DNS IPs.
  • Zero Bloat: No external dependencies beyond nmcli.

⚠️ Requirements

  • A Linux system using NetworkManager.
  • nmcli installed (standard on most desktop distros like Fedora, Ubuntu, Arch, etc.).
  • Root privileges (sudo).

Note: This script will not work on systems managed purely by systemd-resolved, netplan (without NM), or minimal server environments lacking NetworkManager.


🚀 Installation

  1. Clone the repository:

    git clone [https://github.com/Ronin-CK/Dns-changer.git](https://github.com/Ronin-CK/Dns-changer.git)
    cd Dns-changer
  2. Make the script executable:

    chmod +x dns-changer.sh

🎮 Usage

Run the script with root privileges to allow network modification:

sudo ./dns-changer.sh

About

A simple interactive Bash script for Linux that lets you view and change your system DNS servers using NetworkManager (nmcli).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages