Utility archive / network administration

hostsmgr
2.1.1

A compact console utility for generating and maintaining a system hosts file in administrative workflows. It can write to a chosen location, choose a resolver address, and control line-ending and backup behavior.

hostsmgr — command profile
// typical output configuration
path:     ".\\hosts"
resolver: "0.0.0.0"
format:   "win"
backup:   true
Blue-lit network infrastructure in a server environment

Release record

Archive details

A concise record of the documented hostsmgr release and its supported operating environment.

Version
2.1.1
Release record
14 June 2026
License
GPL v3
Language
C
Architecture
32-bit / 64-bit
Supported OS
Windows 7 SP1, 8, 8.1, 10, and 11

Purpose

Hosts-file maintenance from the command line.

hostsmgr is intended for administrators who need a repeatable way to build or update a hosts file. Its options allow a workflow to direct the output, define a resolver address, and match common operating-system line-ending formats.

The utility also supports generating the hosts list without setting a resolver and can bypass locally stored cache files when a direct network load is required.

What’s included

  • Configurable hosts-file output path
  • Resolver address selection
  • Windows, Linux, and macOS line endings
  • Optional backup and cache controls

Command reference

Available options

Use these command-line parameters to adjust how the utility produces its hosts-file output.

-path

Sets the output file location. The documented default is .\hosts.

-ip

Sets the IP address used as the resolver. The documented default is 0.0.0.0.

-os

Selects the new-line format: win, linux, or mac. The default is win.

-nobackup

Prevents creation of a backup for the output file.

-noresolve

Generates the hosts list without setting a resolver.

-nocache

Skips cache files and loads source material directly from the network.

Release files

Downloads and verification

The documented release includes a binary archive, debugging symbols, and a SHA-256 checksum file. A signature file is included with the application files for verification workflows.

Reference notes

Frequently asked questions

What does hostsmgr do?

It is a console utility for generating and maintaining a hosts file with configurable output and resolver settings.

Can the output be saved somewhere else?

Yes. The -path parameter specifies the output file location.

Which line-ending formats are available?

The -os option supports Windows, Linux, and macOS formats through the values win, linux, and mac.

Can hostsmgr generate a list without setting a resolver?

Yes. Use -noresolve to generate the hosts list without setting the resolver.

Is a backup created by default?

The documented option set indicates that a backup is created unless the -nobackup parameter is used.

Where are project resources listed?

The archive record retains links to the project repository, changelog, license material, issue tracker, and pull-request area below.

Project record

Source and support links

These links are retained as reference points for source material, change history, licensing information, and technical issue tracking.

Archive contact

Keep the question specific.

For information related to this software archive, use the site email.

info@henrycode.en-html.org