]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: resolvers: default resolvers section
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 6 May 2022 15:14:00 +0000 (17:14 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 6 May 2022 15:16:23 +0000 (17:16 +0200)
Add a paragraph about the default resolvers section generated by
HAProxy.

doc/configuration.txt

index 0d6a1a5e6311e2489f277df3ce2d8fd0cab68ff1..4081bae8619e8553c4737d8b5cbb0e6d28f07020 100644 (file)
@@ -15572,6 +15572,11 @@ This section is dedicated to host information related to name resolution in
 HAProxy. There can be as many as resolvers section as needed. Each section can
 contain many name servers.
 
+At startup, HAProxy tries to generate a resolvers section named "default", if
+no section was named this way in the configuration. This section is used by
+default by the httpclient and uses the parse-resolv-conf keyword. If HAProxy
+failed to generate automatically this section, no error or warning are emitted.
+
 When multiple name servers are configured in a resolvers section, then HAProxy
 uses the first valid response. In case of invalid responses, only the last one
 is treated. Purpose is to give the chance to a slow server to deliver a valid