Breaking and behavioral changes:
- Building now requires Go 1.26 or newer (was 1.23.5), because the code uses
errors.AsType. (#193) - doh-server: The
nameparameter of the Google protocol is limited to 1020 bytes long. (#194) - doh-server: The request body is now limited to 64 KiB. (#193)
- doh-client: Invalid domain names in the
passthroughconfiguration option now abort the program at launch, instead of being silently ignored. (#194) - doh-client: Fix Punycode conversion for
passthroughbeing mistakenly skipped. (#194) - doh-client: The response body is now limited to 64 KiB for IETF protocol, and 1 MiB for Google protocol. (#193, #195, #196)
- systemd: The service units restarts itself with an exponential backoff. Requires systemd 254 or newer. (#171, #174)
Other changes:
- docs: Add contribution guidelines and a generative AI policy. (#197)
- doh-client: Add an
interfaceconfiguration option to bind outgoing connections to a specific interface. (#185, thanks @shahradelahi) - doh-client: Add
globalreachtech.com,network-auth.com, andping.archlinux.orgto the default passthrough list. (#172, #191, thanks @hiruocha, @bfahrenfort) - CI configuration changes (#192, thanks GitHub CodeQL and GitHub Copilot Autofix for security scanning)
Known issues:
- The client may crash under certain WRR selector configurations. Please avoid using the WRR selectors. Contributions are welcome.
Additionally, thanks Joshua Wang from SSLab and OpenVuln from Z.ai for your vulnerability reports.