Skip to content

Repository files navigation

DNS Changer

A modern, full-screen DNS configuration tool with controller support, designed for easy DNS server switching.

☕ Support Me

If you like this project, consider supporting me on Buymeacoffee:

📸 Screenshot

DNS Changer Screenshot

Features

  • 🎮 Full controller support (Trimui Smart Pro compatible)
  • 🖥️ Full-screen modern interface
  • 🌙 Beautiful dark theme
  • ⚡ Quick DNS switching
  • 🔄 Automatic screen scaling

Supported DNS Servers

  • Google DNS
  • Cloudflare DNS
  • OpenDNS

Installation

  1. Download the latest release.
  2. Extract the downloaded file to:
    • /mnt/SDCARD/Apps/

Requirements

  • Python 3.x
  • SDL2
  • SDL2_ttf
  • A controller (optional)

Cross-Compiling

  1. Clone the repository:
git clone [repository-url]
cd TSB_DNSChanger
  1. Using WSL2 run the docker container inside tools directory and place the code inside workspace:
sudo make shell
  1. Cross compiling the app to Trimui Smart Pro:
pyinstaller --onefile --noconsole --name DNSChanger main.py
  1. Place the EmuDrop files from dist/ directory platform/Trimui Smart Pro/EmuDrop
cp dist/DNSChanger/ platform/Trimui Smart Pro/DNSChanger
  1. Copy DNSChanger directory to /mnt/SDCARD/Apps/

Testing

python main.py

Controls

Keyboard:

  • ↑/↓: Navigate through DNS options
  • Enter: Select and apply DNS
  • Escape: Exit application

Controller (Trimui Smart Pro):

  • D-pad Up/Down: Navigate through DNS options
  • A Button: Select and apply DNS
  • B Button: Exit application

DNS Configuration

The application reads DNS configurations from dns_list.json. Here's an example format:

[
    {
      "name": "Google DNS",
      "primary": "8.8.8.8",
      "secondary": "8.8.4.4"
    },
    ...
]

About

An app to change DNS in Trimui Smart Pro / Trimui Brick

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages