Giter Club home page Giter Club logo

dns-reset's Introduction

DNS Reset Script

This Python script is designed to reset the DNS settings for network adapters on a Windows system to their default settings, typically to obtain DNS server addresses automatically via DHCP.

Prerequisites

To run this script, you will need:

  • Python 3.6 or higher installed on your Windows machine.
  • Administrative privileges on the system where the script will be executed.

Installation

No installation is necessary. Simply download the dns_reset.py script from the repository.

Usage

To use the script, follow these steps:

  1. Open the Command Prompt or PowerShell with administrative privileges.
  2. Navigate to the directory where you have downloaded the dns_reset.py file.
  3. Run the script by entering python dns_reset.py and press Enter.

The script will first determine the active code page used by your system to handle potential encoding issues. It will then list all network adapters found on the system and prompt you to either reset the DNS settings for all adapters or to specify a single adapter to reset.

Features

  • Automatically detects the system's active code page for proper encoding handling.
  • Provides an option to reset DNS settings for all network adapters.
  • Allows for resetting DNS settings of a specific network adapter chosen by the user.

Contributing

Contributions to this script are welcome. Please feel free to fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgements

  • Thanks to the contributors who have helped in testing and refining the script.
  • This project is not affiliated with or endorsed by any company.

Disclaimer

This script is provided "as is", without warranty of any kind, express or implied. Use at your own risk.

Contact

If you have any questions or feedback, please file an issue on the GitHub repository.

dns-reset's People

Contributors

mustafayilmazx avatar

Stargazers

Mert avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.