Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ NullLag

DNS Benchmark & Switcher for Windows

License: MIT Platform Electron


What is NullLag?

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).


Features

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

📸 Screenshots

Main Window

Gaming Network Tweaks

DNS Benchmark

Settings Panel

System Tray Menu


Quick Start

📥 Pre-Built Executable

Download the ready-to-run installer:

  1. Go to Releases
  2. Download NullLag Setup 1.1.1.exe
  3. Run the installer (requires Administrator privileges for network adapter changes)

💻 Development Setup

Prerequisites

Commands

# 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 build

🏗️ Project Structure

NullLag/
├── 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

How It Works

  • DNS Benchmark: Queries each DNS server directly using Node's dns.Resolver with process.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\ and HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile, alongside netsh and Set-NetAdapterAdvancedProperty.

License

This project is licensed under the MIT License.

About

Open-source DNS benchmark and switcher for Windows. Find the fastest DNS server for your connection and apply it with one click. Zero lag.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages