Skip to content

[9.18] fix: dig - always set the default port when doing a UDP query

Artem Boldariev requested to merge artem-debian-bug-1059582-9.18 into bind-9.18

This change ensures that the port is set before attempting a UDP query. Before that a situation could appear when previous query have completed over a different transport (that uses a dedicated port) and then a UDP query will be attempted over the port of the previous transport.

Backport of !9618 (merged).

Merge request reports