NullLag is a fast DNS benchmark, switcher, and network optimization utility for Windows. It allows you to benchmark 30+ public DNS servers to find the lowest latency connection, switch your active DNS in one click, and toggle gaming network tweaks (Nagle's Algorithm, Network Throttling, RSC, LSO, Flow Control, Interrupt Moderation).
| Feature | Description |
|---|---|
| 🎮 Gaming Network Tweaks | Registry & PowerShell optimizations for Nagle's Algorithm, Network Throttling, System Responsiveness, RSC, LSO, Flow Control, and Interrupt Moderation |
| 🔍 DNS Benchmark | Tests 30+ preloaded DNS servers with custom iterations and timeouts |
| ⚡ One-Click Apply | Applies selected DNS to your active network adapter instantly |
| 🔄 Reset to DHCP | Restores automatic DNS configuration |
| 🧹 Flush DNS Cache | Clears the Windows DNS resolver cache (ipconfig /flushdns) |
| 🌐 IPv4 & IPv6 | Full support for IPv4 and IPv6 protocols |
| ✏️ Custom DNS | Add, edit, and reorder custom DNS servers |
| 🖥️ System Tray | Minimizes to system tray with quick-access DNS switching |
Download the ready-to-run installer:
- Go to Releases
- Download
NullLag Setup 1.1.1.exe - Run the installer (requires Administrator privileges for network adapter changes)
- Node.js (v18+)
- Windows 10/11
# Clone repository
git clone https://github.com/NullLag/Null-Lag.git
cd Null-Lag
# Install dependencies
npm install
# Start app
npm start
# Build installer executable
npm run buildNullLag/
├── package.json
├── LICENSE
├── README.md
├── src/
│ ├── main/
│ │ ├── main.js # Electron lifecycle & IPC handlers
│ │ ├── preload.js # Secure contextBridge API
│ │ ├── dns-manager.js # DNS benchmark and execution
│ │ ├── network-adapter.js # Adapter query & configuration
│ │ ├── tweaks-manager.js # Registry & PowerShell network tweaks
│ │ └── settings-manager.js # Configuration storage
│ ├── renderer/
│ │ ├── index.html # Main UI shell
│ │ ├── styles/
│ │ │ ├── index.css # Tokens, glass, animations
│ │ │ ├── main-view.css # Main dashboard styles
│ │ │ ├── benchmark.css # Benchmark overlay styles
│ │ │ ├── settings.css # Settings overlay styles
│ │ │ └── tweaks.css # Gaming tweaks overlay styles
│ │ ├── scripts/
│ │ │ ├── app.js # Core UI router and events
│ │ │ ├── benchmark.js # Benchmark UI logic
│ │ │ ├── settings.js # Settings UI logic
│ │ │ └── tweaks.js # Gaming tweaks UI logic
│ │ └── assets/
│ └── data/
│ └── dns-servers.json # Preloaded DNS servers
- DNS Benchmark: Queries each DNS server directly using Node's
dns.Resolverwithprocess.hrtime.bigint()high-precision timers across configurable iterations. - DNS Modification: Modifies adapter settings via
Set-DnsClientServerAddress. - Gaming Tweaks: Modifies registry parameters under
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\andHKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile, alongsidenetshandSet-NetAdapterAdvancedProperty.
This project is licensed under the MIT License.




