mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 09:06:14 +00:00
The DNS sanity check passed bindAddr directly to dns.Client.Exchange. Wildcard binds like "0.0.0.0:53", "[::]:53", or the empty string (which the dns lib treats as default port 53 on all interfaces) aren't actually dialable from inside the same host — net would refuse the empty string outright, and our finding rendered "Queried ." in the operator's UI. resolveDNSQueryTarget now translates: "" → 127.0.0.1:53 ":53" → 127.0.0.1:53 "0.0.0.0:53" → 127.0.0.1:53 "[::]:53" → 127.0.0.1:53 "192.0.2.10:53" → unchanged "53" → 127.0.0.1:53 "example.com" → example.com:53 The finding's Details now exposes both the configured bind and the effective query target separately, so when queries still fail the operator can tell whether the server simply isn't listening on a dialable address vs. responding with the wrong IP. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>