SIGN IN SIGN UP

MINOR: dns: select the nameserver server type explicitly

DNS send, receive and response functions currently infer which server
to use from the non-null member of a nameserver. This is unambiguous
while a nameserver owns only one server, but prevents one logical
nameserver from exposing both datagram and stream servers.

Pass a dns_server_type through these interfaces and add predicates for
readable type checks. Existing queries still select the same server, so
this patch does not change runtime behavior.
M
Manu Nicolas committed
2f6aabe9cdcf520d339ac72cb568f6f972a5c0e5
Parent: 7c51368
Committed by Christopher Faulet <cfaulet@haproxy.com> on 9/2/2026, 11:40:48 AM