RHEMS Japan Co., Ltd. released hosts creator v0.1.0, a Kubernetes sidecar, on November 24, 2026. It resolves the configured host names and the endpoints of AWS RDS and ElastiCache at a fixed interval and keeps writing them to the pod's /etc/hosts, which decouples application name resolution from CoreDNS. The implementation has been rewritten in Rust and the source is published under the MIT license. What it does and how to install it are summarized on the product site (https://www.hosts-creator.com/).

What hosts creator does
It is a sidecar that resolves the host names listed in hosts_list and the RDS and ElastiCache endpoints selected by tag, then rewrites /etc/hosts. No application change is required. Name resolution completes inside the operating system's hosts file.
Results are not cached. At each configured interval (10 seconds by default) it writes the DNS answers as of that moment. If even one name fails to resolve, /etc/hosts is left untouched, so a broken state is never left behind.
Background
CoreDNS is the single point where name resolution for every pod converges. Applications without a connection pool look up names on every request. As pods increase, load concentrates, and if CoreDNS stops, communication for many applications is affected.
NodeLocal DNSCache lowers load and latency by caching on each node, but once the cache expires queries go back upstream, so the dependency remains during failures. hosts creator creates a state where names that can be enumerated in advance no longer need that path.
Main characteristics
- Rewrite only when every name resolves: if a single lookup fails, /etc/hosts is not changed and the process exits with code 1. IPv4 and IPv6 are validated before writing, and only the content that passes is replaced in place.
- No cache: the resolver cache is disabled, so each cycle writes the current DNS answer. IP changes are followed with a delay equal to the configured interval.
- Share /etc/hosts with another container: emptyDir and subPath let it reference the same file as a sidecar such as nginx. Files mounted through subPath cannot be renamed, so writes are done in place.
Adoption
- Docker Hub pulls: more than 160,000 (as of November 2026)
- Scale in our own operations: running in clusters with more than 10,000 pods
Resolution of registered names does not go through CoreDNS, so those queries do not occur no matter how many pods are added. The image has been public since 2023, and v0.1.0 is the release that rewrites the implementation in Rust.
Requirements and availability
The container image is published on Docker Hub as rhemsjapan/hosts-creator. Tags are v0.1.0 (amd64 / arm64) and rust-latest. The source is on GitHub at RHEMS-Japan/hosts-creator under the MIT license.
Configuration is limited to the TTL in setting.ini and whether RDS and ElastiCache are targeted. The repository contains Kubernetes samples including emptyDir sharing and IRSA. Before rollout you can validate the configuration (--check-config) and run a single pass (--once --dry-run). Neither rewrites /etc/hosts.
- Product site: https://www.hosts-creator.com/ - what it does, configuration keys, CLI, resource guidance
- Source: RHEMS-Japan/hosts-creator - MIT license
- Container image: rhemsjapan/hosts-creator - v0.1.0 (amd64 / arm64) and rust-latest
Measured values
With the arm64 container running at a TTL of 10 seconds, eight host names used 7.3MB of resident memory, 0.05% of one core, and about 5ms per cycle. Recommended resources are requests 10m / 32Mi and limits 100m / 64Mi.
Notes
Because v0.1.0 is a 0.x release, the specification may change. Writing /etc/hosts requires permission, and DNS round-robin and weighting do not apply. IP changes are followed with a delay equal to the configured interval. Whether it fits depends on the environment, so we discuss each case individually.
The 2023 Python implementation has been discontinued. The latest tag stays pinned to the 2023 version and will not be updated, so that its content does not change silently for the many environments already using it. For the Rust version, specify v0.1.0 or rust-latest. py-latest is also kept for reference.
Contact
For rollout questions or to check whether it fits an existing environment, please use the contact form.