Ross ROSS = Recommend OSS · open-source software intelligence for agents

shayne/go-wsl2-host

Automatically update your Windows hosts file with the WSL2 VM IP address observed · 2026-08-28

github.com/shayne/go-wsl2-host · Go observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2621
  • days_rel: n/a
  • days_push: 753
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1680 stars · 137 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Go program that installs as a Windows service and automatically updates the Windows hosts file with the WSL2 VM's IP address. It maps distro names and custom aliases to the VM so the host can reach WSL2 via hostnames.

Use cases

  • access wsl2 vm from windows via hostname
  • automatically update hosts file with wsl2 ip
  • ping my wsl distro by name
  • set up local domain aliases for wsl2 development
  • fix wsl2 ip changing after restart
  • run wsl2 hostname service on windows

When to choose

  • you develop on WSL2 and need stable hostname access from Windows
  • you want automatic hosts file updates when the WSL2 VM IP changes
  • you need custom local aliases pointing to your WSL2 VM

When to avoid

  • you use WSL1, which does not use a VM IP
  • you need DNS for other machines on your network, not just the Windows host
  • you require a maintained project with an explicit license

Facets

cli-tool · maturity maintenance

networking configuration-management developer-tools developer-tools windows windows cli wsl2 hosts-file windows-service local-dns go automation

1 source

Member repositories

RepositoryRoleHealth v2
shayne/go-wsl2-hostmain23

For agents

markdown · JSON · MCP: product_card(name="shayne/go-wsl2-host")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem