A CLI app to set and organize your favorite DNS servers.

Related tags

Command-line rdns
Overview

rdns

A CLI app to set and organize your favorite DNS servers.

Introduction

rdns is a CLI utility that can set your system DNS, either directly or by making your own list of preferred DNS servers,
so that you can change your internet DNS settings blazingly fast🔥

CAUTION

⚠️ rdns is currently only available for Windows (you can contribute and add support for your OS of choice)
⚠️ rdns uses user elevation to change DNS settings

Usage

Simply build the app using cargo run. To access help page run:

rdns --help
Usage: rdns.exe <COMMAND>

Commands:
  set     Set a DNS server from your list
  add     Add a DNS server to your list
  rem     Remove a DNS server from your list
  list    List your saved DNS servers
  direct  Directly set a DNS (or clear to DHCP)
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Or access help for a custom subcommand with:

rdns <COMMAND> --help

The following is the output of rdns add --help:

Add a DNS server to your list

Usage: rdns.exe add [OPTIONS] <PRIMARY> <SECONDARY> <NAME>

Arguments:
  <PRIMARY>    Primary DNS address
  <SECONDARY>  Secondary DNS address
  <NAME>       Server name

Options:
      --v6    IPv6 DNS address (Default is v4)
  -h, --help  Print help

Why?

Residing in Iran, I encounter challenges in accessing various online resources due to the necessity of utilizing VPN software or DNS services.
A large number of software are blocked in Iran due to US trade restrictions, and I need to change DNS frequently (e.g Some DNS that works for ChatGPT doesn't work for downloading Nvidia drivers, and in case of games one that works for Battlefield doesn't work for CoD).

Consequently, it can get extremely inconvenient and exhaustive to change my DNS settings manually everytime using the OS settings. While there are some GUI apps available for managing DNS configurations, I perceive them as overly elaborate and often susceptible to the same repetitiveness. As a result I wrote rdns to make this faster for me and anyone who may also benefit from it.

You might also like...
CLI application to run clang-format on a set of files specified using globs in a JSON configuration file.
CLI application to run clang-format on a set of files specified using globs in a JSON configuration file.

run_clang_format CLI application for running clang-format for an existing .clang-format file on a set of files, specified using globs in a .json confi

CLI application to run clang-tidy on a set of files specified using globs in a JSON configuration file.
CLI application to run clang-tidy on a set of files specified using globs in a JSON configuration file.

run-clang-tidy CLI application for running clang-tidy for an existing .clang-tidy file on a set of files, specified using globs in a .json configurati

dog is a command-line DNS client, like dig
dog is a command-line DNS client, like dig

dog dog is a command-line DNS client. Dogs can look up! dog is a command-line DNS client, like dig. It has colourful output, understands normal comman

🏝️ Set wallpaper from your terminal!

WLP Set wallpaper from your terminal. It works on Linux, Mac and Windows. Installation Manual git clone https://github.com/ahmadrosid/wlp.git cargo in

AniTUI is a CLI (and in the future a TUI) app for searching and wathching anime in MPV.

AniTUI is a CLI (and in the future a TUI) app for searching and wathching anime in MPV. This is a Rust rewrite (quite literally a rewrite) of Pystardu

CLI calculator app and library

calc Yet another CLI calculator. Inspired by the excellent https://github.com/alfredxing/calc. Installation With a Rust toolchain in place: cargo inst

Small and simple CLI app to generate .editorconfig based on a given settings.

add-editorconfig Small and simple CLI app to generate .editorconfig based on a given settings. Usage # Will create an .editorconfig in the current dir

Simple but convenient CLI-based Matrix client app for sending and receiving (in Rust)

matrix-commander-rs simple but convenient CLI-based Matrix client app for sending and receiving Help create this Rust program! This project is current

simple but convenient CLI-based Nostr client app for following users and sending DMs

nostr-commander-rs TLDR: simple but convenient CLI-based Nostr client app for publishing, sending DMs, as well as following users and channels nostr-c

Owner
null
zigfi is an open-source stocks, commodities and cryptocurrencies price monitoring CLI app, written fully in Rust, where you can organize assets you're watching easily into watchlists for easy access on your terminal.

zigfi zigfi is an open-source stocks, commodities and cryptocurrencies price monitoring CLI app, written fully in Rust, where you can organize assets

Aldrin Zigmund Cortez Velasco 18 Oct 24, 2022
OSINT from your favorite services in a friendly terminal user interface

osintui Open Source Intelligence Terminal User Interface Report Bug · Request Feature Installation First, install Rust (using the recommended rustup i

Will Sheldon 639 Jan 4, 2023
🔍 quickly search with your favorite websites straight from the terminal

gg Search with your favorite websites straight from the terminal! gg-example.mp4 Configure gg To add more websites, just edit the ~/.gg.toml or %APP_D

Vedant Nandwana 4 Dec 31, 2022
Plexisort is a command-line tool designed to organize your files based on metadata.

Plexisort is a command-line tool designed to organize your files based on metadata. It allows for flexible source and destination directory settings, supports dry-run operations for safe previews of potential changes, and even offers an undo functionality for reversing the last set of file movements.

Richard Chukwu 7 Apr 29, 2024
Given a set of kmers (fasta format) and a set of sequences (fasta format), this tool will extract the sequences containing the kmers.

Kmer2sequences Description Given a set of kmers (fasta / fastq [.gz] format) and a set of sequences (fasta / fastq [.gz] format), this tool will extra

Pierre Peterlongo 22 Sep 16, 2023
A todo list app that indexes your app to find TODO:'s

forgot A todo list app that indexes your app to find TODO:'s Usage to list all your todos forgot list list all your todos ignoring search in ./target,

null 2 Oct 6, 2022
Download pdbs from symbol servers and cache locally, parse symbol paths from env vars

symsrv This crate lets you download and cache pdb files from symbol servers, according to the rules from the _NT_SYMBOL_PATH environment variable. It

Markus Stange 6 Sep 15, 2022
A versatile and dynamic music bot designed to elevate the musical experience within Discord servers.

Masayoshi Masayoshi is a discord music bot written in Rust for making a great experience within Discord servers with support to Youtube, SoundCloud, S

null 6 Dec 26, 2023
Mac App/CLI that automatically adds project logos to your locally cloned GitHub repos

Download the app Automatically adds project logos to your locally cloned GitHub repos. Youtube Video This repository contains the source code for the

Sam Denty 365 Dec 25, 2022
Extremely simple http rust servers :snowboarder:

Snowboard ?? An extremelly simple library for fast & simple TCP servers in rust [Request a feature/Report a bug] Quick start To get started with Snowb

null 3 Oct 23, 2023