A Fluent-Design desktop application for managing the Windows hosts file โ part of the HOTS Tools family.
HOTS Hosts is a lightweight, feature-rich Windows application that lets you view, edit, and manage the system hosts file through a clean, modern GUI โ no more manually navigating to C:\Windows\System32\drivers\etc\ and fighting with Notepad permissions.
Version 2.0 is a ground-up rebuild: the interface has moved from Tkinter to PySide6 with Fluent Design (QFluentWidgets), bringing a proper light/dark theme, custom accent colors, and a persistent side-navigation layout instead of pop-up dialogs.
HOTS Hosts is the first release under HOTS Tools โ a small line of no-nonsense Windows utilities.
Built as a personal hobby project, released free under GPLv3.
Main window โ table view with live search and entry management
Parental Control โ category blocklists with Cloudflare Family DNS toggle
Privacy โ tiered telemetry controls with drift detection
- ๐ Real-time table view of all hosts entries โ active, disabled, and comments
- โ Add / Edit / Delete entries with a polished dialog
- โป Enable / Disable entries without deleting them (toggles the
#prefix) - ๐ Live search & filter across IP, hostname, and comment columns
- ๐ Bulk paste โ paste multiple
IP hostnamelines at once - ๐ Column sorting by any field
- ๐พ Auto-backup before every save โ rotating archive of the last 15 backups
- ๐ Backup Manager โ browse, restore, or delete any backup
- ๐ Diff preview โ see exact line-by-line changes before writing to disk
- โ Post-save verification โ confirms the file was written correctly
- ๐ 20 000 entry limit โ blocks saves that would freeze Windows DNS Client
- ๐ฅ Import any hosts-format
.txtfile - ๐ค Export to
.txt(hosts format) or.csv(with Status, IP, Hostname, Comment columns)
- ๐ Domain existence check โ queries Google/Cloudflare public DNS directly (in parallel, multi-threaded), bypassing the local hosts file; flags domains that no longer exist in DNS
- ๐ก Malware scanner โ a heuristic engine covering well over a dozen risk signals, including:
- Known system/payment domains redirected to a non-loopback IP
- Windows Update / antivirus update domains being blocked
- Entries redirecting to a public (non-private, non-loopback) IP
- Mass-redirect patterns (many domains pointing at the same IP)
- Hostnames that are raw IP addresses
- Cyrillic/Unicode homoglyph characters and zero-width characters hidden in a hostname
- Punycode (
xn--) hostnames - High-entropy, DGA-style hostnames (randomly-generated-looking labels)
- Typosquatting of well-known domains (fuzzy-matched against a known-safe list)
- Suspicious TLDs, unusually deep subdomains, and brand-impersonation / long-digit / long-label naming patterns
- Known-safe subdomains and CDNs are automatically whitelisted to cut down on false positives
- A per-entry ignore list so confirmed-safe results don't keep re-appearing in future scans
- ๐ก Built-in blocklist manager for 13 categories:
- ๐ Adult content ยท ๐ฆ Twitter/X ยท ๐ธ Instagram ยท โถ YouTube ยท ๐ค Facebook
- ๐ฌ WhatsApp ยท ๐ต TikTok ยท ๐ฎ Twitch ยท ๐ป Snapchat ยท ๐ Pinterest
- ๐ค Reddit ยท ๐น๏ธ Games ยท โ Torrent
- Each category uses unique section tags โ categories never overwrite each other
- Toggle any category on/off with one click; DNS cache flushed automatically
- ๐ Cloudflare Family DNS โ one-click enforcement of DNS-level adult content blocking (1.1.1.3 / 1.0.0.3):
- Detects all active (operationally up) network interfaces natively via the Windows
iphlpapiAPI (GetAdaptersAddresses) โ nonetsh/PowerShell subprocess is spawned for detection, so it's instant and works identically regardless of Windows display language - Backs up original DNS settings per interface to
%APPDATA%\HOTS Hosts\dns_backup.jsonbefore switching - Restores previous DNS (or falls back to DHCP) when Parental Control is disabled
- State persists across HOTS sessions โ DNS remains protected even after the app is closed
- Detects all active (operationally up) network interfaces natively via the Windows
โน๏ธ The telemetry/tracking-domain blocklist (previously listed as a 14th Parental Control category) now lives under Privacy, alongside the other telemetry tweaks โ see below.
Completely rebuilt from a single on/off switch into a tiered, granular control center covering 26 individual system tweaks, organized into three levels:
- Basic (13 tweaks) โ
AllowTelemetrypolicy,DiagTrackanddmwappushserviceservices, Windows experimentation/telemetry, advertising ID, Bing/search-box suggestions, tailored experiences, Consumer Features, Delivery Optimization P2P sharing, Windows Recall, feedback notifications, CEIP - Medium (8 tweaks) โ firewall rules blocking
CompatTelRunner.exe,devicecensus.exe,WerFault.exe, plus disabling scheduled tasks (Compatibility Appraiser,ProgramDataUpdater,Consolidator,UsbCeip,QueueReporting) - Advanced (5 tweaks) โ
WerSvc/PcaSvcservices, Activity Feed / Timeline, cross-device activity publishing and upload
Each level shows "{active} of {total} active", and every individual tweak can be expanded, reviewed, and toggled on its own.
- ๐ก Known telemetry domains โ an additional hosts-file blocklist toggle (the domain list formerly surfaced under Parental Control) sits beneath the three tweak levels
- ๐ฉน Drift detection โ if Windows resets a protected setting (e.g. after a major update), HOTS flags it with a warning and lets you re-apply it with one click
- ๐ System Restore integration โ create a Windows System Restore point with one click before applying changes, plus a one-click option to remove Windows' restore-point creation frequency limit if it's blocking you
- Saves the exact pre-change state before touching anything, so every level can be fully reverted
- Requires Administrator rights (UAC prompt on launch covers this)
- Intentionally scoped to the highest-impact, most reliable tweaks โ not a comprehensive privacy suite
- ๐ Light and Dark themes โ switch anytime in Options
- ๐จ 4 accent colors โ Gold, Red, Green, Blue
- ๐งญ Fluent Design navigation โ persistent side panel instead of pop-up dialogs
- ๐ Built-in update checker โ checks GitHub Releases and notifies you when a newer version of HOTS Hosts is available, with a direct link to download it
- ๐ 5 languages โ English (default), Polish, Franรงais, Deutsch, Espaรฑol โ switch in Options, saved across sessions
- ๐ Password protection โ optional SHA-256 hashed startup password stored in the Windows Registry
- ๐ Raw text view โ edit the hosts file directly like Notepad, with syntax highlighting
- ๐ Geometry persistence โ remembers window size and position
- ๐ง File repair โ auto-fixes wildcard entries, removes duplicates and malformed lines
- ๐งน Restore default โ replaces current hosts with Microsoft's clean default (backup created first)
- ๐ Auto-elevation โ requests UAC Administrator rights on launch
- ๐ Single-instance guard โ launching HOTS Hosts while it's already running switches focus to the existing window instead of opening a duplicate
The Parental Control module blocks domains at the system level using the Windows hosts file, combined with Cloudflare Family DNS (1.1.1.3 / 1.0.0.3). This approach is effective but has inherent limitations you should be aware of:
Large platforms use hundreds of dynamically changing subdomains and CDN endpoints. A blocklist can never be 100% complete at any given moment.
- Built-in lists are updated with each HOTS release to keep up with infrastructure changes.
- You can add missing domains manually โ HOTS is first and foremost a hosts file editor. Map any bypassing domain to
0.0.0.0directly from the main table.
Modern browsers (Chrome, Firefox, Edge, Opera) include a feature called Secure DNS / DNS-over-HTTPS (DoH). When enabled, the browser sends DNS queries directly to an external encrypted server, completely bypassing the system hosts file.
To make HOTS parental filters effective, disable DoH in each browser's privacy/security settings:
- Chrome / Edge: Settings โ Privacy and security โ Security โ Use secure DNS โ Off
- Firefox: Settings โ Privacy & Security โ DNS over HTTPS โ Off
The hosts file only affects the Windows PC it runs on. Phones, tablets, and any device using a VPN will not be subject to these rules.
- Download
HOTS_Hosts_setup.exe(installer) orHOTS_Hosts.zip(portable, no install) from the Releases page - If you downloaded the portable
.zip, extract it first, then run the.exeinside - Double-click โ UAC will prompt for Administrator rights
- Done. No further setup required.
System requirements: Windows 10 or Windows 11, 64-bit. Windows 7/8/8.1 and 32-bit systems are not supported.
Since HOTS Hosts is a small independent project without a paid code-signing certificate, Windows SmartScreen may show a warning like "this app isn't commonly downloaded" the first few times it's downloaded. This is expected and does not mean the file is unsafe โ it simply means Microsoft hasn't yet built up a download reputation for it (this happens to every new, unsigned .exe, regardless of safety).
To proceed:
- If you see a screen titled "Windows protected your PC", click More info, then click Run anyway
- If you see the Edge/browser download warning shown above, click the "โฆ" (more actions) menu next to the downloaded file โ Keep โ Show more โ Keep anyway
If you'd rather verify the file yourself first, you can always build it from source instead โ see Option B below โ or inspect the full source code in this repository.
Requirements: Python 3.10+, PySide6, PySide6-Fluent-Widgets
pip install PySide6 "PySide6-Fluent-Widgets[full]"git clone https://github.com/darsono6/HOTS.git
cd HOTS
pythonw -m hosts_editor
โ ๏ธ Must be run as Administrator โ the hosts file is write-protected by Windows.
icon.ico # Windows Explorer/shortcut icon
hosts_editor_launcher.pyw # Single-instance guard + admin elevation entry point (build target)
hosts_editor/
โโโ __main__.py # Entry point โ UAC elevation, password prompt, language init
โโโ app.py # Main window (Fluent navigation shell)
โโโ core.py # Data logic โ parse, save, import/export, DNS, parental control
โโโ core_antispy.py # Privacy engine โ services, firewall rules, tasks, registry tweaks
โโโ core_restore.py # System Restore point creation & frequency-limit removal
โโโ constants.py # Theme colors, accent presets, paths, settings load/save
โโโ widgets_qt.py # Reusable Qt/Fluent UI components โ buttons, dialogs, pages
โโโ dns_utils.py # DNS management โ native interface lookup, Cloudflare Family DNS orchestration
โโโ i18n.py # Multilingual string system (EN / PL / FR / DE / ES)
โโโ logo.png / logo.ico / logoS.png / logo1.png
โโโ blocklists/ # Plain-text domain lists for Parental Control & telemetry blocking
โ โโโ adult.txt
โ โโโ telemetry.txt
โ โโโ youtube.txt
โ โโโ ...
โโโ dialogs/
โโโ entry_dialog.py # Add / Edit entry form
โโโ diff_dialog.py # Diff preview before save
โโโ backup_page.py # Backup Manager
โโโ diagnostics_page.py # Domain check & malware scan
โโโ parental_page.py # Parental Control panel
โโโ privacy_page.py # Privacy / telemetry control center
โโโ export_dialog.py # Export to .txt / .csv
โโโ language_dialog.py # Language selection
โโโ accent_dialog.py # Accent color picker
โโโ support_page.py # Support / donate window
โโโ about_page.py # About & update checker
โโโ password_dialog.py # Set / verify startup password
โโโ _*.py # Shared/internal helpers for the pages above
The interface language can be changed in the Options โ Language panel.
The selected language is saved to %APPDATA%\HOTS Hosts\settings.json and applied on the next launch โ including the startup password prompt.
| Code | Language |
|---|---|
en |
English (default) |
pl |
Polski |
fr |
Franรงais |
de |
Deutsch |
es |
Espaรฑol |
All UI strings, dialogs, error messages, column headers, and system comments (e.g. Parental Control entries in the hosts file) are fully translated.
HOTS Hosts is provided in good faith but without any warranty. The author is not responsible for any damage, data loss, system issues, or other consequences resulting from the use of this application. Modifying the hosts file affects system-level network resolution โ use with care. You use this software at your own risk.
If HOTS Hosts saves you time or you simply want to say thanks:
Website: hotstools.com
PayPal: paypal.me/darsonodark
Support: hots.support@gmail.com
No registration required. Any amount is appreciated.
GNU General Public License v3.0 ยฉ 2026 Darsono