]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: resolvers: add supports of TCP nameservers in resolvers.
authorEmeric Brun <ebrun@haproxy.com>
Fri, 12 Feb 2021 19:05:45 +0000 (20:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 13 Feb 2021 09:03:46 +0000 (10:03 +0100)
commit56fc5d9ebcf4384e10e7ebd0166e36c680b3ef43
tree1f641ed6b8c9b9e58eee9248c059bd58f48fef46
parentfd647d5f5fc72a16140eb2280280cdf00fde3a6e
MEDIUM: resolvers: add supports of TCP nameservers in resolvers.

This patch introduce the new line "server" to set a TCP
nameserver in a "resolvers" section:

server <name> <address> [param*]
  Used to configure a DNS TCP or stream server. This supports for all
  "server" parameters found in 5.2 paragraph. Some of these parameters
  are irrelevant for DNS resolving. Note: currently 4 queries are pipelined
  on the same connections. A batch of idle connections are removed every
  5 seconds. "maxconn" can be configured to limit the amount of those
  concurrent connections and TLS should also usable if the server supports
. The current implementation limits to 4 pipelined

The name of the line in configuration is open to discussion
and could be changed before the next release.
doc/configuration.txt
src/resolvers.c