This is a lightweight DNS changer application written in C for Windows. It allows users to quickly switch their DNS settings without navigating through complex network configurations.
- One-click DNS switching
- Supports custom DNS configurations
- Simple and intuitive interface
- Pre-configured default DNS servers
- Minimal resource usage
- Run
program.exe
as Administrator. - The application will automatically apply the configured DNS settings.
- Restart your system to revert to previous DNS settings.
To use your preferred DNS servers:
- Create a text file named
dns_config.txt
in the same directory as the executable. - Add your desired DNS addresses, one per line (max two servers).
Example dns_config.txt
:
8.8.8.8
8.8.4.4
If the configuration file is missing, empty, or unreadable, the application will use these fallback DNS servers:
185.51.200.2
178.22.122.100
To compile from source (requires Mingw):
- Place these files in the same directory:
main.c
(root folder)icon.ico
&resource.rc
(from assets folder)
- Run these commands:
windres resource.rc -O coff -o resource.res
gcc main.c resource.res -o program.exe -mwindows
- Windows OS
- Administrator privileges
Released under the MIT License.
Note: This tool modifies system network settings. Use with caution.