mirror of
https://github.com/coredns/coredns.git
synced 2026-08-20 23:08:28 -04:00
Use net.JoinHostPort rather than string concatenation to support both ipv4, ipv6, and hostname service endpoints for the trace plugin. Previously, ipv6 bind addresses in the coredns configuration would fail to be parsed, as the ipv6 address was not surrounded in brackets. Signed-off-by: Michael Wolf <mwolf@cloudflare.com> Closes #8409 Co-authored-by: Michael Wolf <mwolf@cloudflare.com>
3.7 KiB
3.7 KiB