All Projects → andreabac3 → CDDN-Change-DNS-Dynamically-with-your-Network

andreabac3 / CDDN-Change-DNS-Dynamically-with-your-Network

Licence: MIT license
This script allows you to have the best configuration of your DNS when switching from one Wi-Fi to another.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to CDDN-Change-DNS-Dynamically-with-your-Network

FGRoute
Get your device ip address, router ip or wifi ssid
Stars: ✭ 128 (+481.82%)
Mutual labels:  wifi, ssid
Probe-Hunter
Probe Request sniffer + Wigle
Stars: ✭ 46 (+109.09%)
Mutual labels:  wifi, ssid
Rainbow-Wifi-Hack-Utility-Android
The program implements brute Wi-Fi network method on platform Android
Stars: ✭ 39 (+77.27%)
Mutual labels:  wifi, wi-fi
macos-wifiname
Display the currently connected WiFi name (SSID) in the menu bar on macOS
Stars: ✭ 45 (+104.55%)
Mutual labels:  wifi, ssid
GLPT
GLPT :: OpenGL Pascal Toolkit. A multi-platform library for OpenGL and OpenGL ES
Stars: ✭ 26 (+18.18%)
Mutual labels:  unix, macosx
Peanuts
Peanuts is a free and open source wifi tracking tool. Based on the SensePosts Snoopy-NG project that is now closed.
Stars: ✭ 34 (+54.55%)
Mutual labels:  wifi, ssid
Wi-Fi Study Public
The study resources of Wi-Fi protocols and resources.
Stars: ✭ 357 (+1522.73%)
Mutual labels:  wifi, wi-fi
Raspap Webgui
Simple wireless AP setup & management for Debian-based devices
Stars: ✭ 3,383 (+15277.27%)
Mutual labels:  wifi, wi-fi
Spoofmac
💼 Change your MAC address for debugging
Stars: ✭ 2,687 (+12113.64%)
Mutual labels:  wifi, wi-fi
Connectivity
🌐 Makes Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access.
Stars: ✭ 1,476 (+6609.09%)
Mutual labels:  wifi, wi-fi
dot-elvish
My configuration files for elvish - mirrored from GitLab
Stars: ✭ 43 (+95.45%)
Mutual labels:  unix, macosx
Engraver
PoCC Burstcoin Reference Plotter
Stars: ✭ 61 (+177.27%)
Mutual labels:  unix, macosx
newrelic-unix-monitor
Monitoring service for Unix (AIX, Linux, HP-UX, MacOS, Solaris) systems
Stars: ✭ 26 (+18.18%)
Mutual labels:  unix, macosx
1ZLAB PyEspCar
1ZLab在准备挑选合适的小车来研发计算机视觉的教程时候 , 发现习惯了Python语法的我们, 在市面上找不到合适小车, 后来我们选了ESP32作为小车的控制主板, 可以使用Python对其进行交互式编程, 极大的提升了开发效率.
Stars: ✭ 78 (+254.55%)
Mutual labels:  wifi
bridgeap
Automagically bridge any live interface to any idle interface using NATS, DHCP, and HostAP where applicable
Stars: ✭ 52 (+136.36%)
Mutual labels:  wifi
ninjaberry
Ninjaberry: Raspberry Pi UI for @bettercap
Stars: ✭ 39 (+77.27%)
Mutual labels:  wifi
ESP-WROOM-Breakout
Breakouts for ESP8266 and ESP32 WiFi/WLAN + Bluetooth modules from Espressif (ESP-WROOM-02, ESP-WROOM-32)
Stars: ✭ 32 (+45.45%)
Mutual labels:  wifi
WiFi-remote-for-Bestway-Lay-Z-SPA
Hack - ESP8266 as WiFi remote control for Bestway Lay-Z spa Helsinki
Stars: ✭ 138 (+527.27%)
Mutual labels:  wifi
wifi-penetration-testing-cheat-sheet
Work in progress...
Stars: ✭ 149 (+577.27%)
Mutual labels:  wifi
PengueeBot
Automation tool, visit our discord channel if you have anything to ask
Stars: ✭ 27 (+22.73%)
Mutual labels:  unix

CDDN - Change DNS Dynamically with your Network

This script allows you to have the best configuration of your DNS when switching from one Wi-Fi to another.

Getting Started

Prerequisites

The program works for MacOS X && Distro Linux.
If you are Linux User, the program will ask to you Sudo permission and the iwgetid program.

Installing

When you start the program the first time, it will ask you to edit a file that created for you, it will be a txt file with SSID and DNS pairs.
With the following Synopsis SSID | DNS1 DNS2;

$ bash Wi-Fi-DNS.sh
Modify dnsConfig.txt with your custom settings & restart the .sh

Options

List configuration

You have the option -l as the list, to list all pair in your configuration

$ bash Wi-Fi-DNS.sh -l
replace_with_name_of_your_Wifi | 1.1.1.1 1.0.0.1 ;
FritzBox Wi-Fi 2.4GHz | 208.67.222.222 208.67.220.220 ;
FritzBox Wi-Fi 5GHz | 8.8.8.8 8.8.4.4 ;

Save configuration

You have the option -s to save your current DNS configuration directly inside the configuration file.

$ bash Wi-Fi-DNS.sh -s
CDDN has saved your current DNS configuration

Test configuration

You have the option -t as the test, for testing the correct configuration of your DNS. The option -t execute simple command dig to google.com

Program execution

After correctly setting up the configuration file, we can move on to running the program. If the name of your current Wi-Fi is on the list, your DNS will be changed.

$ bash Wi-Fi-DNS.sh
I have correctly set the DNS 208.67.222.222 208.67.220.220 for the network with the SSID FritzBox Wi-Fi 2.4GHz

Authors

License

This project is licensed under the MIT License - see the MIT license online for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].