mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-23 13:17:16 +00:00
7867f63313
Try to create a "default" resolvers section at startup, but does not display any error nor warning. This section is initialized using the /etc/resolv.conf of the system. This is opportunistic and with no guarantee that it will work (but it should on most systems). This is useful for the httpclient as it allows to use the DNS resolver without any configuration in most of the cases. The function is called from the httpclient_pre_check() function to ensure than we tried to create the section before trying to initiate the httpclient. But it is also called from the resolvers.c to ensure the section is created when the httpclient init was disabled. |
||
---|---|---|
.. | ||
haproxy | ||
import |