Net Toolkit is a lightweight Windows desktop utility built with C# and WPF (.NET Framework 4.8) for viewing, switching, and testing DNS servers.
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.
- 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.daddress 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.
- 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.
- Clone the repository:
git clone https://github.com/xecvas/Net-Toolkit.git cd Net-Toolkit - Open
Net Toolkit.slnin Visual Studio. - Build the solution (
Ctrl+Shift+B) or publish aReleasebuild. - Run
Net Toolkit.exeas administrator frombin/Release(orbin/Debug).
Alternatively, download the latest pre-built executable from the Releases page and run Net Toolkit.exe directly as administrator — no installation required.
- Launch Net Toolkit as administrator.
- Pick a network adapter from the dropdown, or leave it on All Adapters.
- 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.
- Watch the resolve time labels update as each address is pinged.
- Optionally click Find Fastest DNS to scan every listed provider and auto-fill the quickest one.
- Click Apply to set the DNS on the selected adapter(s), or Cancel to revert to what was active before you started editing.
- Use Flush DNS to clear the local DNS cache at any time.
- 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.
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)
- C# / WPF on .NET Framework 4.8
System.Net.NetworkInformation—NetworkInterfaceenumeration andPingfor 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 scansSystem.Text.RegularExpressions— IP address validation
Contributions are welcome! If you'd like to contribute:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/my-feature). - Commit your changes (
git commit -m "Add my feature"). - Push to the branch (
git push origin feature/my-feature). - 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.
This project is licensed under the terms found in LICENSE.txt.
Created with ❤️ by xecvas

