Skip to content

A lightweight Python script to help you select the fastest IP addresses for Microsoft services.

License

Notifications You must be signed in to change notification settings

ButaiKirin/MicrosoftHostsPicker

Repository files navigation

Microsoft Hosts Picker - M$💊

A lightweight Python script to help you select the fastest IP addresses for Microsoft services.

Why This Tool?

In certain regions, Microsoft services may not function optimally due to DNS resolving to suboptimal IP addresses. This script aims to address that issue by finding the most responsive IPs for various Microsoft services.

Getting Started

  1. Install dependencies:
pip install -r requirements.txt
  1. Download the latest ZIP from this repository.

  2. Extract the contents to your preferred location.

  3. Run the script:

python MicrosoftHostsPicker.py

How It Works

The script automatically selects the best IP addresses for various Microsoft services. Results are saved in a "hosts" file in the same directory as "MicrosoftHostsPicker.py".

Usage Tips

  • Only replace the problematic IP addresses in your system's hosts file.
  • Avoid overwriting all entries, as this may cause unintended issues.
  • Some services (e.g., Office Download and Windows Update) use global CDN nodes and may not require manual configuration unless your DNS is resolving incorrectly.

Enjoy faster and more reliable access to Microsoft services!

About

A lightweight Python script to help you select the fastest IP addresses for Microsoft services.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •