Releases: MJDaws0n/ProxyDNSCache
Releases · MJDaws0n/ProxyDNSCache
Release v2.0.0
Full Changelog: v1.1...v2.0
Release Notes — v1.1.0 (2025-12-20)
- Major internal refactor into a production-style Node.js layout (src modules + thin app.js entrypoint) with improved maintainability and separation of concerns.
- Backward compatible with existing config.yml certificate schema — no config migration required.
- Auto-creates config.yml and cache.json if missing, with safe defaults, so first-run setup is smoother.
- Hot-reloads config.yml and cache.json when they change on disk (no restart required to pick up edits).
- Updated caching policy:
- Refresh SRV records every 1 minute for domains accessed within the last 1 hour
- Refresh every 15 minutes for domains not accessed in the last hour (but accessed within 24 hours)
- Delete cache entries not accessed for more than 24 hours
- Cache file is backward compatible: old
{ target, port }entries still work and are upgraded with timestamps as the service runs. - Improved robustness/security:
- TLS minimum version set to TLS 1.2
- Added connection timeouts and safer error handling
- Atomic writes for cache.json to reduce risk of corruption on crash/restart
- Removed unused dependencies
- Added unit tests (non-network) for core logic: wildcard hostname matching, header injection, and cache policy decisions.
- Added build support via
pkg:npm run buildproduces standalone binaries for macOS and Linux (x64 + arm64/aarch64) in dist.
Upgrade Notes
- Existing config.yml continues to work as-is.
- Running the service will update cache.json to include timestamp fields for access/refresh tracking.
Added more headers (aarch64 linux only)
What's Changed
- Bump js-yaml from 4.1.0 to 4.1.1 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #1
- Add standard proxy headers to forwarded HTTP requests by @Copilot in #2
New Contributors
- @dependabot[bot] made their first contribution in #1
- @Copilot made their first contribution in #2
Full Changelog: v1.0.4...v1.1
Main thing was the fact that the headers were not correct, some missing. I got co-pilot to fix it thankfully though, so it's all good. Thanks copilot
aarch64 linux only, the rest may or may not work, I doubt it, please build it yourself or just run with node.
Changed DNS to be cloudflare
Changed DNS to be cloudflare as it is better
Full Changelog: v1.0.3...v1.0.4
Patched it crashing sometimes
Patched it crashing sometimes idk why it did but it doesn't anymore
Sorry am unable to build for arch systems at the moment, please run through nodejs 16 or build yourself
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's new
- Hosts on port 441 along with 443 to allow for websockets to work, (they still work on 443 but it's common for it to be blocked on port 443)
- Added IP forwarding in a header for websockets and HTTP requests
- Added all connections http / https connections on port 80 to be forwarded to https on 443
- Support for x86_64 machines
- Bug patches
v1.0.1
V1.0.1
Whats new
- Partial Windows support (aka I have built it, but not tested it).
- Partial MacOS support (aka I have built it, but not tested it).
- Made cache clear after 96 hours of inactivity rather than 1 hour.
- Commented code better.
Full Changelog: v1.0...v1.0.1