]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: doc: Document SRV label usage.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 7 Aug 2017 15:30:03 +0000 (17:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 9 Aug 2017 14:32:50 +0000 (16:32 +0200)
doc/configuration.txt

index f46743875642b4e0180317d1b6b77d94cf1b6d13..731b2857e30a18e920e080f83f46655ddf17ce4a 100644 (file)
@@ -11637,6 +11637,13 @@ A few other events can trigger a name resolution at run time:
     because the server has a new IP address. So we need to trigger a name
     resolution to know this new IP.
 
+When using resolvers, the server name can either be a hostname, or s SRV label.
+HAProxy considers anything that starts with an underscore a SRV label.
+If a SRV label is specified, then the corresponding SRV records will be
+retrieved from the DNS server, and the provided hostnames will be used. The
+SRV label will be checked periodically, and if any server are added or removed,
+haproxy will automatically do the same.
+
 A few things important to notice:
   - all the name servers are queried in the mean time. HAProxy will process the
     first valid response.