Skip to content

Repository files navigation

Net Toolkit

Net Toolkit is a lightweight Windows desktop utility built with C# and WPF (.NET Framework 4.8) for viewing, switching, and testing DNS servers.

Platform Framework Language UI

Overview

It lets you switch a network adapter's DNS servers to any of 20+ built-in public providers (or a custom pair of your own), auto-detects and matches your current DNS to a known provider on launch, pings servers to show live resolve times, and can find the fastest provider on your list with one click — all wrapped in a clean, frameless, modern UI with a built-in set of common network repair tools.

Features

  • 20+ built-in DNS providers — Google, Cloudflare (including Malware Blocking and Family Shield variants), Quad9, OpenDNS, Verisign, Comodo, AdGuard, CleanBrowsing, Alternate DNS, Level3, Yandex, DNS.WATCH, Neustar UltraDNS, plus your system's own Default DNS and a Custom entry for any address.
  • Segmented IP input — each DNS address is entered as four auto-advancing octet boxes with built-in 0–255 validation, backspace-to-previous navigation, and paste support for a full a.b.c.d address at once.
  • Auto-detected current DNS — on launch, reads the active adapter's DNS servers and automatically selects the matching provider in the dropdown (or falls back to "Default DNS" / "Custom").
  • Per-adapter or all-adapters apply — target a single network adapter from a live, refreshable list, or apply to every adapter at once.
  • Live resolve-time ping test — automatically pings the primary and secondary DNS whenever they change, showing round-trip time in milliseconds.
  • Fastest DNS finder — pings every provider on the list concurrently and auto-fills the fastest one it found (without applying it).
  • Change tracking with Cancel — the Cancel button only enables once something's actually changed, and restores the original adapter, provider, and addresses exactly.
  • Flush DNS cache — one-click ipconfig /flushdns, with button/label feedback.
  • Network Tools tab — a second panel of common repair actions, each independently selectable via checkbox:
    • Connection repair: Reset TCP/IP, Repair Winsock, Renew IP, Flush ARP cache, Renew WINS registration
    • Advanced options: Reset firewall, Reset proxy config, Repair SSL/crypto services, Restore hosts file, Network visibility
    • A running activity log records the timestamped result of every action.
  • Custom window chrome — frameless, draggable title bar for a clean, modern look.

Screenshots

Net Toolkit1 Net Toolkit2

Getting Started

Prerequisites

  • Windows 7 SP1 or later (Windows 10/11 recommended)
  • .NET Framework 4.8 (typically pre-installed on modern Windows)
  • Visual Studio 2019/2022 with the .NET desktop development workload (only required to build from source)
  • Administrator privileges — changing DNS settings, resetting TCP/IP, and most Network Tools actions require running as administrator.

Build from source

  1. Clone the repository:
    git clone https://github.com/xecvas/Net-Toolkit.git
    cd Net-Toolkit
  2. Open Net Toolkit.sln in Visual Studio.
  3. Build the solution (Ctrl+Shift+B) or publish a Release build.
  4. Run Net Toolkit.exe as administrator from bin/Release (or bin/Debug).

Download a release

Alternatively, download the latest pre-built executable from the Releases page and run Net Toolkit.exe directly as administrator — no installation required.

Usage

  1. Launch Net Toolkit as administrator.
  2. Pick a network adapter from the dropdown, or leave it on All Adapters.
  3. Choose a DNS Provider from the dropdown, or type a custom Primary/Secondary DNS into the octet boxes — selecting a provider fills them in automatically.
  4. Watch the resolve time labels update as each address is pinged.
  5. Optionally click Find Fastest DNS to scan every listed provider and auto-fill the quickest one.
  6. Click Apply to set the DNS on the selected adapter(s), or Cancel to revert to what was active before you started editing.
  7. Use Flush DNS to clear the local DNS cache at any time.
  8. Switch to the Network Tools tab for TCP/IP resets, Winsock/firewall/proxy/SSL repairs, WINS renewal, hosts file restoration, and network visibility — select the checkboxes you want and click Run selected.

Project Structure

Net Toolkit/
├── Properties/                 # Assembly info, resources, and user settings
├── assets/                     # App icon
├── App.xaml / App.xaml.cs      # Application entry point
└── MainWindow.xaml / .xaml.cs  # Main UI and interaction logic (DNS switching, ping testing, network tools)

Built With

  • C# / WPF on .NET Framework 4.8
  • System.Net.NetworkInformationNetworkInterface enumeration and Ping for resolve-time testing
  • Native netsh / ipconfig / nbtstat processes via System.Diagnostics.Process — applying DNS settings and running repair tools
  • System.Threading.Tasks — non-blocking ping tests and fastest-DNS scans
  • System.Text.RegularExpressions — IP address validation

Contributing

Contributions are welcome! If you'd like to contribute:

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/my-feature).
  3. Commit your changes (git commit -m "Add my feature").
  4. Push to the branch (git push origin feature/my-feature).
  5. Open a Pull Request.

Please keep changes consistent with the existing .NET Framework 4.8 / WPF target and avoid introducing dependencies on newer .NET runtimes.

License

This project is licensed under the terms found in LICENSE.txt.

Author

Created with ❤️ by xecvas

About

Net Toolkit is a lightweight Windows desktop utility for viewing, switching, and testing DNS servers.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages