Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kislevlevy/google-public-dns-switcher
A script that automates the process of switching between Google's public DNS and your default DNS settings.
https://github.com/kislevlevy/google-public-dns-switcher
batch-script dns public-dns
Last synced: about 5 hours ago
JSON representation
A script that automates the process of switching between Google's public DNS and your default DNS settings.
- Host: GitHub
- URL: https://github.com/kislevlevy/google-public-dns-switcher
- Owner: kislevlevy
- Created: 2022-09-29T09:12:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-15T23:31:05.000Z (6 months ago)
- Last Synced: 2024-05-22T14:37:25.520Z (6 months ago)
- Topics: batch-script, dns, public-dns
- Language: Batchfile
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DNS Automation Script
This project aims to automate changing DNS settings on your computer. While many guides and tutorials exist online, this script offers a fully automated solution for switching between Google's public DNS and your internet provider's private DNS.
## Overview
Google's public DNS (8.8.8.8) and Cloudflare's DNS (1.1.1.1) are popular free-to-use DNS services. Each has its advantages, but they may have different levels of accessibility for certain websites. For example, you might find that some sites are blocked on Cloudflare's DNS but accessible through Google's public DNS.
To address this, I designed a script that allows you to easily switch your computer's DNS settings between Google's public DNS and your default automatic DNS settings.
## Features
- Automates DNS changes on your computer
- Allows you to switch between Google's public DNS and automatic DNS settings
- Compatible with various network adapters (Ethernet, Wi-Fi, etc.)## Usage
1. Run the `app.bat` file.
2. Answer the prompts:
- "Which adapter would you like to change? Write its full name."
You'll be given a list of adapters such as Ethernet, Wi-Fi, etc. Type the exact name of the adapter you want to change.
- "Would you like to activate or deactivate?"
Type `activate` to set your internet adapter to use Google's public DNS. Type `deactivate` to revert your adapter back to automatic DNS settings.## Notes
- The script is a bit more complex than Cloudflare's app, but it gets done.
- I still keep the Cloudflare app on my computer as a backup. It's an easy-to-use option when it works, and I use my script when it doesn't.## Disclaimer
- Use this script at your own risk. Ensure you understand the changes it makes to your network settings.
## Built With
- Batch scripting
## Skills Demonstrated
- Automation
- Network configuration